2011-06-03 17:44:54 +00:00
|
|
|
# The following lines were added by compinstall
|
|
|
|
|
|
|
|
zstyle ':completion:*' completer _complete _ignored _approximate
|
|
|
|
zstyle :compinstall filename '/home/collin/.zshrc'
|
|
|
|
|
|
|
|
autoload -Uz compinit
|
|
|
|
compinit
|
|
|
|
# End of lines added by compinstall
|
|
|
|
# Lines configured by zsh-newuser-install
|
|
|
|
HISTFILE=~/.histfile
|
|
|
|
HISTSIZE=1000
|
|
|
|
SAVEHIST=1000
|
|
|
|
bindkey -e
|
|
|
|
# End of lines configured by zsh-newuser-install
|
|
|
|
|
|
|
|
# Check for an interactive session
|
|
|
|
[ -z "$PS1" ] && return
|
|
|
|
|
|
|
|
# Alias' to make bash prettier
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|
alias grep='grep --color=auto'
|
|
|
|
alias fgrep='fgrep --color-auto'
|
|
|
|
alias egrep='egrep --color-auto'
|
|
|
|
alias ncmpc='ncmpc -c'
|
2011-06-05 14:42:52 +00:00
|
|
|
alias knk='knock rekahsoft-mini 7713:tcp 1377:udp && sleep 3s && '
|
|
|
|
alias knkc='knk ssh rekahsoft-mini '
|
2011-06-26 03:28:52 +00:00
|
|
|
alias kgit='knk git'
|
2011-08-10 03:04:59 +00:00
|
|
|
alias skreen='screen -c /dev/null'
|
2011-06-03 17:44:54 +00:00
|
|
|
|
|
|
|
export GREP_COLOR="1;33"
|
|
|
|
alias grep='grep --color=auto'
|
|
|
|
|
2011-10-24 23:52:46 +00:00
|
|
|
# Use source-highlight to make code in less syntax highlighted
|
|
|
|
export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
|
|
|
|
export LESS=' -R '
|
|
|
|
|
2011-06-03 17:44:54 +00:00
|
|
|
PS1="[%n@%M: %~]%% "
|
|
|
|
|
|
|
|
# Turn off noscroll
|
|
|
|
stty stop undef
|
|
|
|
|
2011-06-21 00:55:55 +00:00
|
|
|
# Modify path variable to allow execution of the following:
|
2011-10-24 23:52:46 +00:00
|
|
|
# * mathematica / tools
|
|
|
|
# * nxclient / associated tools
|
2011-06-21 00:55:55 +00:00
|
|
|
# * maven tools
|
2011-10-24 23:52:46 +00:00
|
|
|
export PATH=${PATH}:/usr/local/bin:/opt/maven/bin:/opt/NX/bin
|
2011-06-05 14:42:52 +00:00
|
|
|
|
2011-06-03 17:44:54 +00:00
|
|
|
# start keychain
|
|
|
|
eval `keychain --eval --timeout 10 --quiet --agents ssh id_rsa`
|
|
|
|
|
|
|
|
# Default editor
|
|
|
|
export EDITOR="emacs -nw"
|