gls: remove slashes at end
This commit is contained in:
parent
0663ffc9af
commit
c9aaa44561
|
@ -47,7 +47,7 @@ gls() {
|
|||
for i in $gitignore $globalgitignore; do
|
||||
if [[ -e $i ]]; then
|
||||
for ignore in "${(f)mapfile[$i]}"; do
|
||||
ignores+="--ignore=$ignore"
|
||||
ignores+="--ignore=${ignore%/}"
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue