From 4563550969467223f422df1eda9c15165d24607c Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 15 Aug 2016 11:14:37 -0400 Subject: Trims fat and renames files --- configs/.zsh_profile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 configs/.zsh_profile (limited to 'configs/.zsh_profile') diff --git a/configs/.zsh_profile b/configs/.zsh_profile new file mode 100644 index 000000000000..28e21f3ca40c --- /dev/null +++ b/configs/.zsh_profile @@ -0,0 +1,39 @@ +export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:$PATH + +# make vim the default editor for commit messages etc +export EDITOR=$(which vim) + +echo "Welcome back, $USER" + +# use vi bindings for terminal input +set -o vi + +# aliases +source $HOME/pc_settings/aliases.sh + +# functions +source $HOME/pc_settings/functions/index.sh + + +# setup keybindings for history functions +source $HOME/pc_settings/scripts/setup_keybindings.sh + + +# BEGIN: bindkeys +bindkey "^R" history-incremental-search-backward + +bindkey -M viins 'jj' vi-cmd-mode +# END: bindkeys + +# export docker env variables +# 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)" + +# run cmatrix command for 3 seconds before exiting +#. $HOME/pc_settings/.matrix_intro.sh + +# 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 + -- cgit 1.4.1