tvl-depot/configs/.zsh_profile

59 lines
1.7 KiB
Text
Raw Normal View History

2017-01-06 02:39:32 +01:00
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
2016-08-15 17:14:37 +02:00
# make vim the default editor for commit messages etc
export EDITOR=$(which vim)
2016-05-04 20:11:38 +02:00
2016-12-20 02:53:45 +01:00
2016-06-28 04:59:20 +02:00
echo "Welcome back, $USER"
2016-05-04 20:11:38 +02:00
2017-01-24 21:11:11 +01:00
2016-08-24 16:01:35 +02:00
# display the space available on each mounted Volume
df -hl
2016-05-04 20:11:38 +02:00
# use vi bindings for terminal input
# set -o vi
# use emacs bindings (default) for terminal input
set -o emacs
2016-05-04 20:11:38 +02:00
# aliases
2016-08-15 17:14:37 +02:00
source $HOME/pc_settings/aliases.sh
2016-05-04 20:11:38 +02:00
# functions
2016-08-15 17:14:37 +02:00
source $HOME/pc_settings/functions/index.sh
# setup keybindings for history functions
source $HOME/pc_settings/scripts/setup_keybindings.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
bindkey -M viins 'jk' vi-cmd-mode
2016-06-28 04:59:20 +02:00
# END: bindkeys
2016-05-04 20:11:38 +02:00
# 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)"
2016-05-04 20:11:38 +02:00
# 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
2016-11-04 21:53:45 +01:00
# 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
2016-12-04 22:39:59 +01:00
# Allows FZF to search hidden files (excluding .git repository)
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -l -g ""'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
2016-12-04 22:39:59 +01:00
# Run Autojump at shell startup
[[ $(brew --prefix)/etc/profile.d/autojump.sh ]] && \
. $(brew --prefix)/etc/profile.d/autojump.sh