From 32d7eea98d547e294f0c917c1c91da861b00c50b Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Tue, 9 Feb 2021 17:21:39 -0800 Subject: [PATCH] Adding Darwin zsh config for new OSX Shell --- .zsh-darwin | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .zsh-darwin 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) -- 2.34.1