diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-11-22 00:43:12 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-11-22 00:45:48 +0530 |
| commit | b8e909d68bcb035648dda93f15de7863f444a3c4 (patch) | |
| tree | 3e6c13b1424d5005b595ea1d86f1b50a49b42390 /config/zsh/plugins | |
| parent | 7cca3043fa585dc0d0cef6a3f25756c946bee1aa (diff) | |
| download | nixos-config-b8e909d68bcb035648dda93f15de7863f444a3c4.tar.gz nixos-config-b8e909d68bcb035648dda93f15de7863f444a3c4.zip | |
Switch to kakoune + daffm
Diffstat (limited to '')
| -rw-r--r-- | config/zsh/plugins/fzf-cd.zsh | 4 | ||||
| -rw-r--r-- | config/zsh/plugins/timer.zsh | 1 |
2 files changed, 3 insertions, 2 deletions
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() { |
