Hacker News new | ask | show | jobs
by eddyg 2307 days ago
Profile-specific aliases are easy.

In your .zshrc (or .bashrc), just use the value of $ITERM_PROFILE to set (or source a file containing) the aliases you want:

[[ $ITERM_PROFILE == “AWS” ]] && source ~/.aliases.aws