Browse Source

Added updates from OS X version of zshrc.

master
Daniel Sissom 6 years ago
parent
commit
24f5ac8787
Signed by untrusted user who does not match committer: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 7 additions and 2 deletions
  1. + 7
    - 2
      zshrc

+ 7
- 2
zshrc

@ -214,6 +214,8 @@ case "$host" in
( osx ) ( osx )
path=(/opt/local/bin:/opt/local/sbin # Macports path path=(/opt/local/bin:/opt/local/sbin # Macports path
~/Local/bin # User specific path ~/Local/bin # User specific path
/usr/local/opt/coreutils/libexec/gnubin # Gnu coreutils from Homebrew
/usr/local/opt/python/libexec/bin # Unversioned python3
$path) $path)
export -UT PYTHONPATH=~/Local/lib/python/latest/site-packages:$PYTHONPATH pythonpath export -UT PYTHONPATH=~/Local/lib/python/latest/site-packages:$PYTHONPATH pythonpath
;; ;;
@ -396,9 +398,12 @@ case "$host" in
alias usage='/home/djsissom/Local/src/comcast-bw/comcastBandwidth.py' alias usage='/home/djsissom/Local/src/comcast-bw/comcastBandwidth.py'
;; ;;
( osx ) ( osx )
alias ls='ls -G'
#alias ls='ls -G'
alias ls='ls --color --literal'
alias top='top -o cpu' alias top='top -o cpu'
alias ssh 'if [[ `ssh-add -l` == "The agent has no identities." ]]; then ssh-add; fi && ssh'
alias ssh='if [[ `ssh-add -l` == "The agent has no identities." ]]; then ssh-add -t 28800; fi && ssh'
alias rsync='if [[ `ssh-add -l` == "The agent has no identities." ]]; then ssh-add -t 28800; fi && rsync'
alias man='man -M /usr/local/opt/coreutils/libexec/gnuman:$MANPATH'
;; ;;
esac esac

Loading…
Cancel
Save