diff --git a/zsh/.config/zsh/functions b/zsh/.config/zsh/functions index dd5004a1..95f92cb5 100755 --- a/zsh/.config/zsh/functions +++ b/zsh/.config/zsh/functions @@ -13,7 +13,7 @@ jj() { } tmp() { - [ -z "$1" ] && cd /tmp/workspaces && + [ -n "$1" ] && cd /tmp/workspaces && cd $(ls -t | fzf --preview 'ls -A {}') && return 0 r="/tmp/workspaces/$(xxd -l3 -ps /dev/urandom)"