From: Jer Noble Date: Fri, 10 Jul 2020 16:28:31 +0000 (-0700) Subject: Update zsh options; remove opensource & internal aliases X-Git-Url: http://id.pley.net/dotfiles.git/commitdiff_plain/refs/heads/master?ds=inline Update zsh options; remove opensource & internal aliases --- diff --git a/zsh_login b/zsh_login index 8318680..2a24355 100644 --- a/zsh_login +++ b/zsh_login @@ -33,6 +33,8 @@ setopt SHARE_HISTORY setopt extended_glob setopt AUTO_CD setopt DVORAK +setopt CDABLE_VARS +setopt CD_SILENT PS1=$'%(?.😊.😡) %(1v.%1v .)%n@%m:%(3~,.../,)%2~> ' PATH=~/bin:$PATH:~/homebrew/bin: diff --git a/zsh_webkit_login b/zsh_webkit_login index dfa4dfe..16325b6 100644 --- a/zsh_webkit_login +++ b/zsh_webkit_login @@ -6,15 +6,12 @@ switchto() { export PERP_BUILD_PATH=$WEBKIT_DIR/OpenSource/WebKitBuild if [[ "$OLD_WEBKIT_DIR" == "" ]]; then export PATH=$PATH:$WEBKIT_DIR/Internal/Tools/Scripts:$WEBKIT_DIR/OpenSource/Tools:$WEBKIT_DIR/OpenSource/Tools/Scripts - export CDPATH=$CDPATH:$WEBKIT_DIR/OpenSource:$WEBKIT_DIR/OpenSource/Source:$WEBKIT_DIR/Internal + export CDPATH=$CDPATH:$WEBKIT_DIR/:$WEBKIT_DIR/OpenSource:$WEBKIT_DIR/OpenSource/Source:$WEBKIT_DIR/Internal else export PATH=$(echo $PATH | sed -e "s;$OLD_WEBKIT_DIR;$WEBKIT_DIR;g") export CDPATH=$(echo $CDPATH | sed -e "s;$OLD_WEBKIT_DIR;$WEBKIT_DIR;g") fi export OLD_WEBKIT_DIR= - - alias opensource="cd $WEBKIT_DIR/OpenSource" - alias internal="cd $WEBKIT_DIR/Internal" } _webkit_dirs() { compadd $( for dir in ~/Projects/WebKit.*; do echo ${dir##*.}; done ) }