diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-28 15:30:28 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-28 15:30:28 +0200 | 
| commit | 376d8127ec219499aa8a2279eab45648be070885 (patch) | |
| tree | a00ee3d9ea81a5c31604f95437d8faae64365134 | |
| parent | 9c85919f70be1888f355b6cc8bb1001e8c9eb379 (diff) | |
small fixes
| -rw-r--r-- | config/essentials/zsh/functions.zsh | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/config/essentials/zsh/functions.zsh b/config/essentials/zsh/functions.zsh index c527521..fda80fb 100644 --- a/config/essentials/zsh/functions.zsh +++ b/config/essentials/zsh/functions.zsh @@ -32,6 +32,7 @@ ranger() { test -z "$RANGER_LEVEL" && /usr/bin/ranger "$@" || exit }  # googoo aliases  _googoo_fzf_opt()  { +	unset dest opt  	if [ "$1" ]  	then  		[ -d "$1" ] && dest="$1" || opt="-q $1" @@ -99,9 +100,7 @@ clip() {  }  unzipp() { -    file=$1 -    shift -    unzip $file $@ || exit 1 +	unzip -- "$(readlink -f -- "$1")" || return 1      rm $file  }  | 
