all repos — dotfiles @ 703a70a88a54f22a1b4b042aee2c907fa583968a

my *nix dotfiles

refactor(zshrc): clean up

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Fri, 19 Oct 2018 22:30:14 +0530
commit

703a70a88a54f22a1b4b042aee2c907fa583968a

parent

9f75d2d58fd38724d41485cf8f17fb6a84fac143

1 files changed, 0 insertions(+), 17 deletions(-)

jump to
M zsh/.zshrczsh/.zshrc

@@ -10,7 +10,6 @@ export ZSH=/home/$USER/.oh-my-zsh

export BROWSER=/usr/bin/firefox export EDITOR=/usr/bin/nvim export SSH_KEY_PATH="~/.ssh/id_rsa" -export PATH=$PATH:$GOROOT/bin export PATH=$PATH:$HOME/bin export GPG_TTY=$(tty) export INPUTRC=~/.inputrc

@@ -34,22 +33,6 @@ bindkey "^[[1~" beginning-of-line

bindkey "^[[4~" end-of-line [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh - -## Defer initialization of nvm until nvm, node or a node-dependent command is -## run. Ensure this block is only run once if .bashrc gets sourced multiple times -## by checking whether __init_nvm is a function. -#if [ -s "$HOME/.nvm/nvm.sh" ] && [ ! "$(type __init_nvm)" = function ]; then -# export NVM_DIR="$HOME/.nvm" -# [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" -# declare -a __node_commands=('nvm' 'node' 'npm' 'yarn' 'gulp' 'grunt' 'webpack') -# function __init_nvm() { -# for i in "${__node_commands[@]}"; do unalias $i; done -# . "$NVM_DIR"/nvm.sh -# unset __node_commands -# unset -f __init_nvm -# } -# for i in "${__node_commands[@]}"; do alias $i='__init_nvm && '$i; done -#fi # base16-shell BASE16_SHELL="$HOME/.config/base16-shell/"