From: Gabriel Dunne Date: Wed, 10 Feb 2021 01:21:39 +0000 (-0800) Subject: Adding Darwin zsh config for new OSX Shell X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=32d7eea98d547e294f0c917c1c91da861b00c50b;p=cfg.git Adding Darwin zsh config for new OSX Shell --- diff --git a/.zsh-darwin b/.zsh-darwin new file mode 100644 index 0000000..147a7b8 --- /dev/null +++ b/.zsh-darwin @@ -0,0 +1,17 @@ + +# prompt +PROMPT='%F{cyan}%n@%m%f %F{240}%1~%f %# ' +RPROMPT='%F{240}%*%f' + + +# aliases +alias cfg='/usr/bin/git --git-dir=/Users/gld/.cfg/.git/ --work-tree=/Users/gld' +alias ls='ls -G' +alias cats='highlight -O ansi --force' + +# sublime text +export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH" + +# brew +eval export HOMEBREW_PREFIX="/opt/homebrew"; export HOMEBREW_CELLAR="/opt/homebrew/Cellar"; export HOMEBREW_REPOSITORY="/opt/homebrew"; export PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}"; export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:"; export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}"; +eval $(/opt/homebrew/bin/brew shellenv)