|
|
@ -221,7 +221,7 @@ _fzf_git_each_ref() {
|
|
|
|
awk '{print $2}'
|
|
|
|
awk '{print $2}'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -n $BASH_VERSION ]]; then
|
|
|
|
if [[ -n "${BASH_VERSION:-}" ]]; then
|
|
|
|
__fzf_git_init() {
|
|
|
|
__fzf_git_init() {
|
|
|
|
bind '"\er": redraw-current-line'
|
|
|
|
bind '"\er": redraw-current-line'
|
|
|
|
local o
|
|
|
|
local o
|
|
|
@ -230,7 +230,7 @@ if [[ -n $BASH_VERSION ]]; then
|
|
|
|
bind '"\C-g'${o:0:1}'": "$(_fzf_git_'$o')\e\C-e\er"'
|
|
|
|
bind '"\C-g'${o:0:1}'": "$(_fzf_git_'$o')\e\C-e\er"'
|
|
|
|
done
|
|
|
|
done
|
|
|
|
}
|
|
|
|
}
|
|
|
|
elif [[ -n $ZSH_VERSION ]]; then
|
|
|
|
elif [[ -n "${ZSH_VERSION:-}" ]]; then
|
|
|
|
__fzf_git_join() {
|
|
|
|
__fzf_git_join() {
|
|
|
|
local item
|
|
|
|
local item
|
|
|
|
while read item; do
|
|
|
|
while read item; do
|
|
|
|