diff --git a/aliases/git b/aliases/git index c056341..e6f9a14 100644 --- a/aliases/git +++ b/aliases/git @@ -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