diff --git a/home/zsh/files/fzgo.zsh b/home/zsh/files/fzgo.zsh index f298710..45a8861 100644 --- a/home/zsh/files/fzgo.zsh +++ b/home/zsh/files/fzgo.zsh @@ -21,7 +21,7 @@ local function get_entries() { for entry in "$XDG_CONFIG_HOME/fzgo/entries/$file_type"/*; do if [ -L "$entry" ]; then entry=$(realpath "$entry") - end + fi if [ -d "$entry" ]; then fd . "$entry" -t "$file_type" else @@ -43,7 +43,7 @@ function fzgo_update_cache() { mkdir -p "$XDG_CACHE_HOME/fzgo/entries/$file_type" if [ -L "$entry" ]; then entry=$(realpath "$entry") - end + fi if [ -d "$entry" ]; then out_file="$(echo "$entry" | sed 's\/\|\g')" out_file="$XDG_CACHE_HOME/fzgo/entries/$file_type/$out_file"