Try to fix some zsh issues
This commit is contained in:
parent
bf158fb137
commit
033167324d
|
@ -83,7 +83,7 @@ function find_global() {
|
||||||
fi
|
fi
|
||||||
file="$(cat $FZY_CACHE | fzy -l 20)"
|
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 | 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() {
|
function open_path() {
|
||||||
|
@ -270,7 +270,7 @@ fi
|
||||||
if [[ "$(hostname)" == "mallorea" ]]; then
|
if [[ "$(hostname)" == "mallorea" ]]; then
|
||||||
alias lf="/usr/bin/lf -last-dir-path /tmp/lf_dir && cd \"\$(cat /tmp/lf_dir 2> /dev/null || pwd)\""
|
alias lf="/usr/bin/lf -last-dir-path /tmp/lf_dir && cd \"\$(cat /tmp/lf_dir 2> /dev/null || pwd)\""
|
||||||
else
|
else
|
||||||
alias lf="cd \"\$(/usr/bin/lf -print-selection -print-last-dir)\""
|
alias lf="cd \"\$(/usr/bin/lf -print-last-dir)\""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function o () {
|
function o () {
|
||||||
|
|
Loading…
Reference in New Issue