From dbccd432d92f26a1c6392530d77a147a3bc4c2ef Mon Sep 17 00:00:00 2001 From: aleidk Date: Mon, 5 Aug 2024 16:34:19 -0400 Subject: [PATCH] minor fixes --- chezmoi/dot_config/yazi/keymap.toml | 4 ++-- chezmoi/executable_dot_zprofile.tmpl | 2 +- chezmoi/executable_dot_zshrc | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/chezmoi/dot_config/yazi/keymap.toml b/chezmoi/dot_config/yazi/keymap.toml index ceeeee3..6e42a49 100644 --- a/chezmoi/dot_config/yazi/keymap.toml +++ b/chezmoi/dot_config/yazi/keymap.toml @@ -67,8 +67,8 @@ keymap = [ { on = [ "D" ], run = [ "remove --permanently", "escape --visual --select" ], desc = "Permanently delete the files" }, { on = [ "a" ], run = "create", desc = "Create a file or directory (ends with / for directories)" }, { on = [ "r" ], run = "rename --cursor=before_ext", desc = "Rename a file or directory" }, - { on = [ ";" ], run = "shell", desc = "Run a shell command" }, - { on = [ ":" ], run = "shell --block", desc = "Run a shell command (block the UI until the command finishes)" }, + { on = [ ";" ], run = "shell --interactive", desc = "Run a shell command" }, + { on = [ ":" ], run = "shell --interactive --block", desc = "Run a shell command (block the UI until the command finishes)" }, { on = [ "." ], run = "hidden toggle", desc = "Toggle the visibility of hidden files" }, { on = [ "s" ], run = "search fd", desc = "Search files by name using fd" }, { on = [ "S" ], run = "search rg", desc = "Search files by content using ripgrep" }, diff --git a/chezmoi/executable_dot_zprofile.tmpl b/chezmoi/executable_dot_zprofile.tmpl index 27f5a25..4940337 100644 --- a/chezmoi/executable_dot_zprofile.tmpl +++ b/chezmoi/executable_dot_zprofile.tmpl @@ -5,7 +5,7 @@ update_path() { } # Set manually -export DOTS="$(dirname $(chezmoi source-path))" +export DOTS="$HOME/.local/share/chezmoi" export EDITOR=nvim export VISUAL="$EDITOR" export QT_STYLE_OVERRIDE=kvantum diff --git a/chezmoi/executable_dot_zshrc b/chezmoi/executable_dot_zshrc index 11ffc1e..503d5c8 100644 --- a/chezmoi/executable_dot_zshrc +++ b/chezmoi/executable_dot_zshrc @@ -109,7 +109,7 @@ setopt hist_find_no_dups # │ Completion styling │ # ╰──────────────────────────────────────────────────────────╯ # case insensitive completion -zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" zstyle ':completion:*' menu no zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath' @@ -136,8 +136,7 @@ done # ╭──────────────────────────────────────────────────────────╮ # │ Init external programs │ # ╰──────────────────────────────────────────────────────────╯ -source /usr/share/fzf/shell/key-bindings.zsh # change to the following line when <= v0.48 -# eval "$(fzf --zsh)" +eval "$(fzf --zsh)" eval "$(zoxide init --cmd cd zsh)" eval "$(starship init zsh)" eval "$(mise activate zsh)"