mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Refactor shell setup into ~/.zshenv and ~/.zshrc files
It was time to split the environment related stuff out to ~/.zshenv, leaving my ~/.zshrc file specifically for setup of interactive shells.
This commit is contained in:
@@ -27,6 +27,20 @@ alias di="colordiff"
|
||||
alias devnullsmtp="java -jar $DOTBIN/DevNullSmtp.jar"
|
||||
alias open_ports="sudo lsof -i -P | grep --color=never -i \"listen\""
|
||||
|
||||
# Homebrew
|
||||
if (( $+commands[brew] )); then
|
||||
alias br="brew"
|
||||
alias ca="brew cask"
|
||||
alias cask="brew cask"
|
||||
alias bb="brew bundle"
|
||||
alias bbg="brew bundle --global"
|
||||
fi
|
||||
|
||||
# Flutter
|
||||
if (( $+commands[flutter] )); then
|
||||
alias fl="flutter"
|
||||
fi
|
||||
|
||||
# Flush DNS cache
|
||||
alias flush_dns="dscacheutil -flushcache"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user