diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 862a5f0..1f8cc80 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -83,7 +83,7 @@ function find_global() { fi file="$(cat $FZY_CACHE | fzy -l 20)" echo $file | cat - $FZY_CACHE | awk '!x[$0]++' > /tmp/fzy_paths_$file_type && mv /tmp/fzy_paths_$file_type $FZY_CACHE - echo $file + echo "$file" } function open_path() { @@ -270,7 +270,7 @@ fi if [[ "$(hostname)" == "mallorea" ]]; then alias lf="/usr/bin/lf -last-dir-path /tmp/lf_dir && cd \"\$(cat /tmp/lf_dir 2> /dev/null || pwd)\"" else - alias lf="cd \"\$(/usr/bin/lf -print-selection -print-last-dir)\"" + alias lf="cd \"\$(/usr/bin/lf -print-last-dir)\"" fi function o () {