zshrc schtuff
This commit is contained in:
parent
85110f485b
commit
92e93a4bf0
1 changed files with 14 additions and 16 deletions
30
zshrc
30
zshrc
|
|
@ -3,11 +3,15 @@ antigen use oh-my-zsh
|
||||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
antigen bundle git
|
antigen bundle git
|
||||||
antigen theme S1cK94/minimal minimal
|
antigen theme S1cK94/minimal minimal
|
||||||
export ZSH_THEME="minimal"
|
antigen apply
|
||||||
|
|
||||||
autoload -U select-word-style
|
autoload -U select-word-style
|
||||||
select-word-style bash
|
select-word-style bash
|
||||||
|
|
||||||
|
HISTSIZE=1000
|
||||||
|
SAVEHIST=1000
|
||||||
|
HISTFILE=~/.history
|
||||||
|
|
||||||
bindkey -e
|
bindkey -e
|
||||||
|
|
||||||
alias vi=nvim
|
alias vi=nvim
|
||||||
|
|
@ -16,13 +20,13 @@ alias l="ls -la"
|
||||||
alias ta="tmux attach -d"
|
alias ta="tmux attach -d"
|
||||||
alias dustinswan="ssh dustinswan@dustinswan.com"
|
alias dustinswan="ssh dustinswan@dustinswan.com"
|
||||||
alias kill_offlineimap="ps aux | grep offlineimap | awk '{ print $2 }' | xargs kill -9"
|
alias kill_offlineimap="ps aux | grep offlineimap | awk '{ print $2 }' | xargs kill -9"
|
||||||
alias e='emacsclient -a "" -t'
|
alias e='emacsclient -a "" -t -nw'
|
||||||
|
alias weather='curl http://wttr.in'
|
||||||
|
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export TERM="screen-256color"
|
|
||||||
export MOSH_TITLE_NOPREFIX=1
|
export MOSH_TITLE_NOPREFIX=1
|
||||||
|
|
||||||
export BROWSER=open
|
export BROWSER=open
|
||||||
[[ -s luakit ]] && export BROWSER=luakit
|
|
||||||
|
|
||||||
# IOCOM stuff
|
# IOCOM stuff
|
||||||
alias dswan="ssh root@dswan.insors.net"
|
alias dswan="ssh root@dswan.insors.net"
|
||||||
|
|
@ -33,14 +37,9 @@ export P4EDITOR=vim
|
||||||
alias er='rm -rf logs; unzip -o'
|
alias er='rm -rf logs; unzip -o'
|
||||||
|
|
||||||
# PATH
|
# PATH
|
||||||
export PATH=/usr/texbin:$PATH # Basictex
|
export PATH=$HOME/.local/bin:$PATH # Stack
|
||||||
export PATH=/usr/local/bin:/usr/local/sbin:$PATH # Homebrew
|
|
||||||
export PATH=/Applications/Postgres.app/Contents/MacOS/bin:$PATH
|
|
||||||
export PATH=$HOME/Library/Haskell/bin:$PATH
|
|
||||||
export PATH=$HOME/.cabal/bin:$PATH
|
|
||||||
export PATH=$HOME/dotfiles/bin:$PATH
|
export PATH=$HOME/dotfiles/bin:$PATH
|
||||||
export PATH=/usr/local/share/npm/bin:$PATH
|
export PATH=$HOME/.npm-packages/bin:$PATH
|
||||||
export NODE_PATH=/usr/local/lib/node:/usr/local/share/npm/lib/node_modules
|
|
||||||
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages
|
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages
|
||||||
|
|
||||||
# nix
|
# nix
|
||||||
|
|
@ -49,12 +48,11 @@ if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc
|
||||||
# Keychain
|
# Keychain
|
||||||
eval `keychain --eval id_rsa`
|
eval `keychain --eval id_rsa`
|
||||||
|
|
||||||
HISTSIZE=1000
|
# Heroku Toolbelt
|
||||||
SAVEHIST=1000
|
|
||||||
HISTFILE=~/.history
|
|
||||||
|
|
||||||
### Added by the Heroku Toolbelt
|
|
||||||
export PATH="/usr/local/heroku/bin:$PATH"
|
export PATH="/usr/local/heroku/bin:$PATH"
|
||||||
|
|
||||||
# FZF
|
# FZF
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|
||||||
|
# iTerm2
|
||||||
|
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue