Bad comments

34d7e589c036dae0461e6990d849996faa1149b0
Alexis Sellier committed ago 1 parent 79dff476
.fzy.zsh +0 -2
13 13
	local ret=$?
14 14
  echo
15 15
	return $ret
16 16
}
17 17
18 -
# Place the selected file path on the command line.
19 18
fzy-file-widget () {
20 19
	LBUFFER="${LBUFFER}$(__fzy_fsel)"
21 20
	local ret=$?
22 21
	zle redisplay
23 22
	typeset -f zle-line-init >/dev/null && zle zle-line-init
24 23
	return $ret
25 24
}
26 25
zle     -N   fzy-file-widget
27 26
bindkey '^P' fzy-file-widget
28 27
29 -
# Place the selected command from history on the command line.
30 28
fzy-history-widget () {
31 29
  local selected num
32 30
	setopt localoptions noglobsubst pipefail 2> /dev/null
33 31
  selected=( $(fc -l -r 1 | fzy -q "${LBUFFER//$/\\$}") )
34 32
	local ret=$?