From b8e909d68bcb035648dda93f15de7863f444a3c4 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 22 Nov 2025 00:43:12 +0530 Subject: Switch to kakoune + daffm --- config/zsh/plugins/fzf-cd.zsh | 4 ++-- config/zsh/plugins/timer.zsh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'config/zsh/plugins') diff --git a/config/zsh/plugins/fzf-cd.zsh b/config/zsh/plugins/fzf-cd.zsh index 02b85e7..9d47e17 100644 --- a/config/zsh/plugins/fzf-cd.zsh +++ b/config/zsh/plugins/fzf-cd.zsh @@ -1,6 +1,6 @@ fzf-change-dir-cwd() { # fzf + cd in cwd - selected=$(find . -maxdepth 1 -type d | fzf); + selected=$(fd --type d --maxdepth 1 --hidden --no-ignore | fzf); if [ ! -z "$selected" ] && [ "$selected" != "$(pwd)" ]; then cd $selected; fi @@ -11,7 +11,7 @@ zle -N fzf-change-dir-cwd; bindkey '^O' fzf-change-dir-cwd; fzf-change-dir() { - local result=$(find -type d | fzf); + local result=$(fd --type d --hidden --no-ignore | fzf); if ! [[ -z "$result" ]]; then cd "$result" fi diff --git a/config/zsh/plugins/timer.zsh b/config/zsh/plugins/timer.zsh index 3610877..5505657 100644 --- a/config/zsh/plugins/timer.zsh +++ b/config/zsh/plugins/timer.zsh @@ -1,5 +1,6 @@ function preexec() { timer=$(($(date +%s%0N)/1000000)) + echo -n "\\x1b]133;A\\x1b\\" # OSC 133 for marking prompt } function precmd() { -- cgit v1.3.1