diff --git a/gitconfig b/gitconfig index 32a96b8..f11e935 100644 --- a/gitconfig +++ b/gitconfig @@ -8,3 +8,18 @@ status = auto [core] autocrlf = input +[alias] + st = status + co = checkout + cm = commit + br = branch + llog = log --date=local + changes = diff --name-status -r + diffstat = diff --stat -r + lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative +[merge] + tool = bc3 +[mergetool] + cmd = /usr/bin/bcompare $LOCAL $REMOTE $BASE $MERGED +[push] + default = current diff --git a/oh-my-zsh b/oh-my-zsh index c443926..8128a5b 160000 --- a/oh-my-zsh +++ b/oh-my-zsh @@ -1 +1 @@ -Subproject commit c443926e28d0b6b527eeb87870f7be7dce7c5b35 +Subproject commit 8128a5b89f56efd95fbafe6ce9200d7cda48f45b diff --git a/zsh_nocorrect b/zsh_nocorrect index 5664e30..e115e27 100644 --- a/zsh_nocorrect +++ b/zsh_nocorrect @@ -1 +1,4 @@ git +npm +apt-get +apt-cache diff --git a/zshrc b/zshrc index da3f038..2c493e7 100644 --- a/zshrc +++ b/zshrc @@ -30,9 +30,14 @@ source $ZSH/oh-my-zsh.sh # Customize to your needs... -# use $HOME/local as default prefix for npm global installs -HOME_LOCAL=$HOME/local - -if [ -d "$HOME_LOCAL/bin" ] ; then - PATH="$HOME_LOCAL/bin:$PATH" +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +# local node install +NODE_PATH="$HOME/local" +if [ -d $NODE_PATH ] ; then + PATH="$NODE_PATH/bin:$PATH" + export NODE_PATH fi