From 033167324d07cf360197624569d464c2ed1f19b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Mon, 29 Apr 2024 10:51:21 +0200 Subject: [PATCH] Try to fix some zsh issues --- .config/zsh/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 862a5f0..1f8cc80 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -83,7 +83,7 @@ function find_global() { 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 + echo "$file" } function open_path() { @@ -270,7 +270,7 @@ fi if [[ "$(hostname)" == "mallorea" ]]; then alias lf="/usr/bin/lf -last-dir-path /tmp/lf_dir && cd \"\$(cat /tmp/lf_dir 2> /dev/null || pwd)\"" else - alias lf="cd \"\$(/usr/bin/lf -print-selection -print-last-dir)\"" + alias lf="cd \"\$(/usr/bin/lf -print-last-dir)\"" fi function o () {