51 lines
1.4 KiB
Text
51 lines
1.4 KiB
Text
export PATH=/Users/wpcarro/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/opt/fzf/bin:/Users/wpcarro/n/bin
|
|
|
|
# make vim the default editor for commit messages etc
|
|
export EDITOR=$(which vim)
|
|
|
|
|
|
echo "Welcome back, $USER"
|
|
|
|
# display the space available on each mounted Volume
|
|
df -hl
|
|
|
|
# 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 'jk' 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
|
|
|
|
# Regain control of CLI <C- mappings for vim keybindings
|
|
# RE: http://superuser.com/questions/588846/cannot-get-vim-to-remap-ctrls-to-w
|
|
stty -ixon
|
|
|
|
|
|
# Run Autojump at shell startup
|
|
[[ $(brew --prefix)/etc/profile.d/autojump.sh ]] && \
|
|
. $(brew --prefix)/etc/profile.d/autojump.sh
|
|
|