Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # CCH - Bash Profile Settings #
- # user@hostname:where<ex.~>$
- export PS1="\e[1;33m\u@\h:\e[1;36m\w\e[0m\$ "
- # colors
- export CLICOLOR=1
- export LSCOLORS=GxFxCxDxBxegedabagaced
- alias c='clear'
- alias f='open -a Finder ./'
- alias cpu_hogs='ps wwaxr -o pid,stat,%cpu,time,command | head -10'
- ## network ##
- # external ip [not currently working]
- alias myip='curl ip.appspot.com'
- # list open ports
- alias ports='sudo lsof -i | grep LISTEN'
- # root profile
- # TODO: sudo doesnt know cmd 'source' from ./.gosu
- # alias su_='sudo ./.gosu'
- alias mtr='/usr/local/sbin/mtr'
- alias sbash='source ~/.bash_profile'
- getchmod() {
- stat -f "%OLp" $1
- }
- sha256sum() {
- shasum -a 256 $1
- }
- alias tlist='tmux list-sessions'
- export PATH="/usr/bin:$PATH"
- # Show and verify code signatures of files
- checksig() {
- codesign -dv --verbose=4 $1
- }
- alias sbpro='source ~/.bash_profile'
Add Comment
Please, Sign In to add comment