fix(zsh): revert previous commit
This commit is contained in:
parent
039ce98f95
commit
64a993b854
10
.zshrc
10
.zshrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user