Compare commits

..

No commits in common. "6faa4f65299052ab3d15d7f141dbcefe903056f1" and "230d5120baa53f10e4650ede3f31792aadc03a77" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ function find_global() {
echo -e "$PATHS" > $FZY_CACHE
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 | cat - $FZY_CACHE | awk '!x[$0]++' > /tmp/fzy_paths_$file_type && mv /tmp/fzy_paths_$file_type $FZY_CACHE
echo "$file"
}
@ -104,7 +104,7 @@ function open_path() {
cd_to "$selection"
else
selection=$(realpath "$selection")
cd_to "$(dirname \"$selection\")"
cd_to "$(dirname $selection)"
nvim "$selection"
fi
else