# HG changeset patch # User zegervdv # Date 1701807586 -3600 # Node ID 8847b222a788ba756ee55501d397420ffff87d63 # Parent a7f5b5e2f4f4d00ba9091d137177cf7b8cfa29fe feat: enable helix as default editor diff -r a7f5b5e2f4f4 -r 8847b222a788 dot_zshrc --- 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]'