all repos — dotfiles @ 335711ace424037849eef96bf5f79a6b8c227773

my *nix dotfiles

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
commit

335711ace424037849eef96bf5f79a6b8c227773

parent

67a4c4e95c820b8a881843a1f23be49246328e07

2 files changed, 7 insertions(+), 3 deletions(-)

jump to
M zsh/.aliaseszsh/.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/.zshrczsh/.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"