dotfiles/bash_aliases

32 lines
706 B
Bash

#!/bin/bash
alias .bp="source $HOME/.bash_profile"
alias .sa="source $HOME/.ssh/agent.out"
alias be='bundle exec'
alias h='cat /etc/hosts'
alias hn='hostname -f'
alias i='ip addr'
alias k1='kill -9 %1'
alias la='l -a'
alias ll='l -l'
alias lla='l -la'
alias p=ipython
alias psg='pgrep -fl'
alias rbi='rbenv_init'
alias s="cat $HOME/.ssh/config | grep '^Host ' | sed \"s/Host //\" | sort | uniq"
alias sS='TERM=xterm screen -Rd -S '
alias scr='TERM=xterm screen -Rd'
alias sl="screen -ls"
alias tmux='TERM=xterm-256color tmux -2'
case "$(uname | tr '[:upper:]' '[:lower:]')" in
darwin)
alias l='ls -GF'
;;
*)
alias l='ls -F --color=auto'
;;
esac
# vim:filetype=sh