zsh: New plugin `k`, `nvm`, etc Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Mon, 05 Nov 2018 15:03:24 +0530
2 files changed,
7 insertions(+),
3 deletions(-)
M
zsh/.aliases
→
zsh/.aliases
@@ -8,9 +8,8 @@ alias up="~/bin/icyup.sh"
alias envac="source .env/bin/activate" alias vim="nvim" alias vi="nvim" +alias ls="ls --color=auto" alias sxiv="sxiv -b" -alias ls="exa" -alias la="exa -al" alias socks="ssh -D 8008 emerald" alias vpn="sudo openvpn --config client.ovpn --script-security 2" alias o="xdg-open"
M
zsh/.zshrc
→
zsh/.zshrc
@@ -21,7 +21,7 @@ ZSH_THEME="icy"
COMPLETION_WAITING_DOTS="true" # plugins -plugins=(git zsh-autosuggestions zsh-syntax-highlighting) +plugins=(git zsh-autosuggestions zsh-syntax-highlighting k) # sourced scripts source $ZSH/oh-my-zsh.sh@@ -39,3 +39,8 @@ BASE16_SHELL="$HOME/.config/base16-shell/"
[ -n "$PS1" ] && \ [ -s "$BASE16_SHELL/profile_helper.sh" ] && \ eval "$("$BASE16_SHELL/profile_helper.sh")" + +# nvm +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"