fix(zsh): revert previous commit

This commit is contained in:
Michel 2023-04-08 21:06:03 +02:00
parent 039ce98f95
commit 64a993b854

10
.zshrc
View File

@ -166,18 +166,12 @@ alias ls='exa --icons --no-permissions --no-user'
alias make='colormake-short' alias make='colormake-short'
# Neovim — nvim # Neovim — nvim
if (( ${+commands[nvim.appimage]} )); then
alias vi='nvim.appimage'
else
alias vi='nvim'
fi
local nvim_python=($HOME/.config/nvim/.direnv/python-3*(om)) local nvim_python=($HOME/.config/nvim/.direnv/python-3*(om))
nvim_python=$nvim_python[1] nvim_python=$nvim_python[1]
# Use `export NVIM=$(nvr --serverlist | fzf)` to choose existing instance # Use `export NVIM=$(nvr --serverlist | fzf)` to choose existing instance
alias nvr="${nvim_python}/bin/nvr" alias nvr="${nvim_python}/bin/nvr"
alias vi='nvim'
# Debian Specific: # Debian Specific:
# sudo dpkg-divert --divert /usr/bin/fd --rename /usr/bin/fdfind # sudo dpkg-divert --divert /usr/bin/fd --rename /usr/bin/fdfind
@ -247,7 +241,7 @@ fi
### ###
export BROWSER=firefox export BROWSER=firefox
export EDITOR=vi export EDITOR=nvim
# -i Searches ignore case # -i Searches ignore case
# -F Automatically exit if the entire file can be displayed # -F Automatically exit if the entire file can be displayed