Switching back from fish to zsh, for now. Turning zsh predict-on on on

master
Dustin Swan 11 years ago
parent 6eb4282b5c
commit 0cccc7f4ea

@ -21,7 +21,7 @@ brew install wget --enable-iri
brew install weechat --with-aspell --with-python --with-ruby brew install weechat --with-aspell --with-python --with-ruby
brew install ranger brew install ranger
brew install bash brew install bash
brew install fish brew install zsh
brew install ack brew install ack
brew install tree brew install tree
brew install imagesnap brew install imagesnap
@ -78,7 +78,6 @@ pip install --upgrade pip
pip install git+git://github.com/Lokaltog/powerline pip install git+git://github.com/Lokaltog/powerline
# Ruby TODO -- set up chruby, ruby-install some stuff # Ruby TODO -- set up chruby, ruby-install some stuff
# https://github.com/JeanMertz/chruby-fish
ruby-install ruby 1.9 ruby-install ruby 1.9
ruby-install ruby 2.1 ruby-install ruby 2.1
chruby 1.9 chruby 1.9
@ -89,11 +88,6 @@ gem install earthquake
# Node packages TODO # Node packages TODO
# Cabal packages TODO # Cabal packages TODO
# Change to fish shell
# TODO check if it's already in there first!!
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/fish dustinswan
# Sane OS X defaults # Sane OS X defaults
bash ~/dotfiles/osx bash ~/dotfiles/osx

@ -29,8 +29,8 @@ alias dswan "ssh root@dswan.insors.net"
alias webdev 'ssh -t root@webdev.insors.net "cd /var/www/html; /bin/bash -i"' alias webdev 'ssh -t root@webdev.insors.net "cd /var/www/html; /bin/bash -i"'
# chruby-fish: https://github.com/JeanMertz/chruby-fish # chruby-fish: https://github.com/JeanMertz/chruby-fish
. /usr/local/share/chruby/chruby.fish #. /usr/local/share/chruby/chruby.fish
# source /usr/local/share/chruby/auto.fish # SERIOUSY BROKEN # source /usr/local/share/chruby/auto.fish # SERIOUSY BROKEN
# GPG # GPG
~/dotfiles/bin/gpg-agent.sh #~/dotfiles/bin/gpg-agent.sh

15
zshrc

@ -9,21 +9,24 @@ bindkey -e
alias vi=vim alias vi=vim
alias l="ls -la" alias l="ls -la"
alias tmux="tmux -2" alias tmux="tmux -2"
alias ta="tmux attach -d"
alias dustinswan="mosh dustinswan@dustinswan.org" alias dustinswan="mosh dustinswan@dustinswan.org"
export EDITOR=vim export EDITOR=vim
export TERM="screen-256color" export TERM="screen-256color"
export MOSH_TITLE_NOPREFIX=1
export BROWSER=open export BROWSER=open
[[ -s luakit ]] && export BROWSER=luakit [[ -s luakit ]] && export BROWSER=luakit
alias browse='open' alias browser='open'
[[ -s luakit ]] && alias browse='luakit' [[ -s luakit ]] && alias browser='luakit'
# IOCOM stuff # IOCOM stuff
export P4USER=dswan export P4USER=dswan
export P4PORT="humu.insors.net:1666" export P4PORT="humu.insors.net:1666"
export P4CONFIG=p4.cfg export P4CONFIG=p4.cfg
export P4EDITOR=vim export P4EDITOR=vim
alias p4vimdiff "set -x P4DIFF vimdiff; p4 diff"
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 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 dswan="ssh root@dswan.insors.net"
alias webdev='ssh -t root@webdev.insors.net "cd /var/www/html; /bin/bash -i"' alias webdev='ssh -t root@webdev.insors.net "cd /var/www/html; /bin/bash -i"'
@ -35,11 +38,12 @@ export PATH=$HOME/Library/Haskell/bin:$PATH # Haskell
export PATH=$HOME/dotfiles/bin:$PATH # Dotfiles bin export PATH=$HOME/dotfiles/bin:$PATH # Dotfiles bin
export PATH=/usr/local/share/npm/bin:$PATH # npm export PATH=/usr/local/share/npm/bin:$PATH # npm
export NODE_PATH=/usr/local/lib/node export NODE_PATH=/usr/local/lib/node
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages
# Chruby # Chruby
if [[ -e /usr/local/share/chruby ]]; then if [[ -e /usr/local/share/chruby ]]; then
source '/usr/local/share/chruby/chruby.sh' source /usr/local/share/chruby/chruby.sh
source '/usr/local/share/chruby/auto.sh' source /usr/local/share/chruby/auto.sh
fi fi
if [[ -e /usr/share/chruby ]]; then if [[ -e /usr/share/chruby ]]; then
source /usr/share/chruby/chruby.sh source /usr/share/chruby/chruby.sh
@ -49,3 +53,6 @@ chruby $(cat ~/.ruby-version)
# GPG # GPG
~/dotfiles/bin/gpg-agent.sh ~/dotfiles/bin/gpg-agent.sh
autoload predict-on
predict-on

Loading…
Cancel
Save