diff --git a/fish/config.fish b/fish/config.fish new file mode 100644 index 0000000..540a719 --- /dev/null +++ b/fish/config.fish @@ -0,0 +1,29 @@ +alias vi vim +alias l "ls -la" +alias tmux "tmux -2" +alias dustinswan "mosh dustinswan@dustinswan.org" +set -x EDITOR "vim" +set -x TERM "screen-256color" + +# PATH +set -x PATH $PATH /usr/local/bin /usr/local/sbin # Homebrew +set -x PATH $PATH /Applications/Postgres.app/Contents/MacOS/bin # Postgres +set -x PATH $PATH /usr/local/share/python +set -x PATH $PATH $HOME/Library/Haskell/bin # Haskell +set -x PATH $PATH $HOME/dotfiles/bin # Dotfiles bin +set -x PATH $PATH /usr/local/share/npm/bin # npm +set -x NODE_PATH $NODE_PATH /usr/local/lib/node + +# IOCOM stuff +set -x P4USER "dswan" +set -x P4PORT "humu.insors.net:1666" +set -x P4CONFIG "p4.cfg" +set -x P4EDITOR "vim" +alias visidev "ssh root@visidev.iocom.com 'cd /; p4 sync'; scp /opt/iocom/user/webclient/all_desktop.js root@visidev.iocom.com:/opt/iocom/user/webclient/; scp /opt/iocom/user/webclient/css/all_desktop.css root@visidev.iocom.com:/opt/iocom/user/webclient/css/" +alias dswan "ssh root@dswan.insors.net" +alias webdev 'ssh -t root@webdev.insors.net "cd /var/www/html; /bin/bash -i"' + +# TODO chruby fish + +# GPG +~/dotfiles/bin/gpg-agent.sh diff --git a/zshrc b/zshrc index aff0e0a..875ed23 100644 --- a/zshrc +++ b/zshrc @@ -9,7 +9,7 @@ bindkey -e alias vi=vim alias l="ls -la" alias tmux="tmux -2" -alias dustinswan="ssh dustinswan@dustinswan.org" +alias dustinswan="mosh dustinswan@dustinswan.org" export EDITOR=vim export TERM="screen-256color" @@ -27,7 +27,6 @@ export P4EDITOR=vim alias visidev="ssh root@visidev.iocom.com 'cd /; p4 sync'; scp /opt/iocom/user/webclient/all_desktop.js root@visidev.iocom.com:/opt/iocom/user/webclient/; scp /opt/iocom/user/webclient/css/all_desktop.css root@visidev.iocom.com:/opt/iocom/user/webclient/css/" alias dswan="ssh root@dswan.insors.net" alias webdev='ssh -t root@webdev.insors.net "cd /var/www/html; /bin/bash -i"' -alias sprites="pushd ~/smartsprites; ./smartsprites.sh --root-dir-path /opt/iocom/user/webclient/; popd; p4 edit /opt/iocom/user/webclient/css/iocom-sprite.css" export PATH=/usr/local/bin:/usr/local/sbin:$PATH # Homebrew export PATH=/Applications/Postgres.app/Contents/MacOS/bin:$PATH # Postgres