diff --git a/Effective-with-fzf.md b/Effective-with-fzf.md index e20c740..f7adfbf 100644 --- a/Effective-with-fzf.md +++ b/Effective-with-fzf.md @@ -42,7 +42,7 @@ Define a new `zii` shell function to override `z -I`: ```bash function zii() { - local $dest="$(z -l "$@"|fzf --nth 2 --reverse --inline-info --tac +s -e --height 35%)" - [ -n "$dest" ] && cd "$dest" + local $dir="$(z -l "$@"|fzf --nth 2 --reverse --inline-info --tac +s -e --height 35%)" + [ -n "$dir" ] && cd "$dest" } ```