From 1d4fa86fa4fa6e817079909833d8cb156940ee45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Tue, 28 Jan 2025 01:41:54 +0100 Subject: [PATCH] Fix syntax error --- home/zsh/files/fzgo.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"