mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
fix: remove -n flag for nl command
-n flag doesn't exist in Busybox's nl implementation
This commit is contained in:
parent
aa027a2e58
commit
e1bda15ded
|
|
@ -634,7 +634,7 @@ _forgit_ignore() {
|
|||
${IFS+"false"} && unset old_IFS || old_IFS="$IFS"
|
||||
IFS=$'\n'
|
||||
# shellcheck disable=SC2206,2207
|
||||
args=($@) && [[ $# -eq 0 ]] && args=($(_forgit_ignore_list | nl -nrn -w4 -s' ' |
|
||||
args=($@) && [[ $# -eq 0 ]] && args=($(_forgit_ignore_list | nl -w4 -s' ' |
|
||||
FZF_DEFAULT_OPTS="$opts" fzf | awk '{print $2}'))
|
||||
${old_IFS+"false"} && unset IFS || IFS="$old_IFS"
|
||||
[ ${#args[@]} -eq 0 ] && return 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue