2016-06-24 19:34:33 +02:00
|
|
|
export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:$PATH
|
2016-05-04 20:11:38 +02:00
|
|
|
|
2016-06-28 04:59:20 +02:00
|
|
|
echo "Welcome back, $USER"
|
2016-05-04 20:11:38 +02:00
|
|
|
|
|
|
|
# use vi bindings for terminal input
|
|
|
|
set -o vi
|
|
|
|
|
2016-07-12 16:39:02 +02:00
|
|
|
# aliases
|
|
|
|
source $HOME/pc_settings/.w_aliases.sh
|
2016-05-04 20:11:38 +02:00
|
|
|
|
2016-07-12 16:39:02 +02:00
|
|
|
# functions
|
|
|
|
source $HOME/pc_settings/.w_functions.sh
|
2016-05-04 20:11:38 +02:00
|
|
|
|
2016-06-28 04:59:20 +02:00
|
|
|
# BEGIN: bindkeys
|
2016-05-04 20:11:38 +02:00
|
|
|
bindkey "^R" history-incremental-search-backward
|
|
|
|
|
2016-06-28 04:59:20 +02:00
|
|
|
bindkey -M viins 'jj' vi-cmd-mode
|
|
|
|
# END: bindkeys
|
|
|
|
|
2016-05-04 20:11:38 +02:00
|
|
|
# export docker env variables
|
2016-06-24 19:34:33 +02:00
|
|
|
# re-enable this line when using docker otherwise you will receive
|
|
|
|
# a TLS error since docker-machine won't be running
|
|
|
|
# eval "$(docker-machine env default)"
|
2016-05-04 20:11:38 +02:00
|
|
|
|
2016-06-24 19:34:33 +02:00
|
|
|
# run cmatrix command for 3 seconds before exiting
|
2016-07-12 16:39:02 +02:00
|
|
|
#. $HOME/pc_settings/.matrix_intro.sh
|
2016-06-24 19:34:33 +02:00
|
|
|
|
|
|
|
# syntax highlighting for CLI; if not installed, run the following command
|
|
|
|
# brew install zsh-syntax-highlighting
|
|
|
|
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
|