Fix syntax error
This commit is contained in:
parent
3482265bd6
commit
1d4fa86fa4
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue