Try to fix some zsh issues

This commit is contained in:
Thomas Avé 2024-04-29 10:51:21 +02:00
parent bf158fb137
commit 033167324d
1 changed files with 2 additions and 2 deletions

View File

@ -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 () {