move aliases to rc, add tmux alias for better integration w/direnv

Alpha Chen 7 years ago committed by Alpha Chen
parent 7e334944d3
commit c341a4c522
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -17,8 +17,6 @@ if command -v brew &> /dev/null; then
source `brew --prefix`/share/chruby/chruby.sh
source `brew --prefix`/share/chruby/auto.sh
fi
alias emacs="emacs --no-window"
fi
if command -v direnv &> /dev/null; then

@ -25,6 +25,8 @@ alias be='bundle exec'
alias tat='tmux new-session -As `basename $PWD | ruby -e "puts ARGF.read.strip.downcase.gsub(/[^\w]+/, ?-)"`'
alias plz=sudo
alias ls=exa
alias emacs="emacs --no-window"
alias tmux="direnv exec / tmux"
function eject { command hdiutil eject `df | grep Volumes | grep -i "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; }

Loading…
Cancel
Save