mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
Fix quote issue
This commit is contained in:
parent
fc3d7b9292
commit
1930af842a
|
|
@ -43,7 +43,7 @@ unalias gi 2>/dev/null
|
|||
gi() {
|
||||
[ -f $giIndex ] || gi-update-index
|
||||
IFS=$'\n'
|
||||
[[ $# -gt 0 ]] && args=$@ || args=$(cat $giIndex |nl -nrn -w4 -s' ' |fzf -m | awk '{print $2}')
|
||||
[[ $# -gt 0 ]] && args="$@" || args="$(cat $giIndex |nl -nrn -w4 -s' ' |fzf -m | awk '{print $2}')"
|
||||
gi-get $args
|
||||
}
|
||||
gi-update-index() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue