From f5c0ed1679da5420188aca76c211259b301a36eb Mon Sep 17 00:00:00 2001 From: Ido Abramovich Date: Tue, 31 Jul 2018 17:30:11 +0300 Subject: [PATCH] remove zsh setopt --- forgit.plugin.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/forgit.plugin.bash b/forgit.plugin.bash index a36a88a..936d305 100755 --- a/forgit.plugin.bash +++ b/forgit.plugin.bash @@ -169,8 +169,7 @@ __forgit_ignore_get() { echo $@ |xargs -I{} bash -c "cat $FORGIT_GI_CACHE/{} 2>/dev/null || (curl -sL https://www.gitignore.io/api/{} |tee $FORGIT_GI_CACHE/{})" } __forgit_ignore_clean() { - setopt localoptions rmstarsilent - [[ -d $FORGIT_GI_CACHE ]] && rm -rf $FORGIT_GI_CACHE/* + [[ -d $FORGIT_GI_CACHE ]] && rm -rf $FORGIT_GI_CACHE }