Adds brew to PATH and adds is_online function

This commit is contained in:
William Carroll 2016-08-01 14:01:51 -04:00
parent 792c690e0d
commit 3306754932
6 changed files with 57 additions and 35 deletions

View file

@ -1,17 +1,21 @@
# bash profile settings for William Carroll
export PATH=$HOME/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:$PATH
# welcome message
echo "Hello, welcome back, William"
# change bash prompt
PS1='$ '
echo "Welcome back, $USER"
# input mode to Vi
# use vi bindings for terminal input
set -o vi
# shortcuts
alias h="history"
alias vi="vim"
alias c="clear"
# aliases
source $HOME/pc_settings/.w_aliases.sh
# functions
source $HOME/pc_settings/.w_functions.sh
# 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
export EDITOR=/usr/bin/vim