Mercurial > dotfiles
changeset 814:8847b222a788
feat: enable helix as default editor
author | zegervdv <zegervdv@me.com> |
---|---|
date | Tue, 05 Dec 2023 21:19:46 +0100 |
parents | a7f5b5e2f4f4 |
children | b528cf742ccf |
files | dot_zshrc |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dot_zshrc Tue Dec 05 21:19:23 2023 +0100 +++ b/dot_zshrc Tue Dec 05 21:19:46 2023 +0100 @@ -184,6 +184,10 @@ zstyle ':completion:*:*:nvim:*' ignored-patterns '*.(o|hex|elf|pyc|pdf|dup)' zstyle ':completion:*:*:nvim:*' file-sort modification +# hx completion +zstyle ':completion:*:*:hx:*' ignored-patterns '*.(o|hex|elf|pyc|pdf|dup)' +zstyle ':completion:*:*:hx:*' file-sort modification + if [ -z "$SSH_AUTH_SOCK" ]; then eval "$(ssh-agent)" fi @@ -286,9 +290,10 @@ # Exports export XDG_CONFIG_HOME=$HOME/.config export PATH=$HOME/bin:$PATH +export PATH=$HOME/.local/bin:$PATH -export EDITOR=nvim -export HGEDITOR=nvim +export EDITOR=hx +export HGEDITOR=hx export RIPGREP_CONFIG_PATH=$HOME/.config/ripgrep/ripgreprc export BAT_CONFIG_PATH=$HOME/.config/bat/config @@ -313,7 +318,7 @@ eval "$($HOME/bin/rtx activate zsh)" eval "$($HOME/bin/rtx hook-env)" -export SUDO_EDITOR=$(which nvim) +export SUDO_EDITOR=$(which hx) eval "$(direnv hook zsh)" zstyle ':completion:*:descriptions' format '[%d]'