Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (26 sloc) 795 Bytes
# Personal additions to .bashrc OR .zshrc files
# vars:
export OWN_HOME="$HOME/personal/"
export WORK_HOME="$HOME/work/"
export LRN_HOME="$HOME/learn/"
# dirs:
alias personal="cd $OWN_HOME"
alias work="cd $WORK_HOME"
alias learn="cd $LRN_HOME"
# git:
alias gitPersonalConfig="git config user.email livrofubia@gmail.com && git config user.name \"Filipe Freire\""
alias gcmsg='git commit --reuse-message=HEAD@{1}'
# bash typical:
alias v='vim'
alias x='chmod u+x $(ls -tr | tail -1)'
# maven:
alias mvnci="mvn -U clean install"
alias mvnx="mvn -U clean install -Pqulice"
# other:
if [ $(uname) == "Darwin" ]; then
alias battery='pmset -g batt | grep "%" | awk "{print \$3}" | sed s/\;//g'
fi
alias ls='ls -G'
alias l='ls -lah'
alias jks='jekyll serve'
alias jksd='jekyll serve --drafts'