Load iTerm2 integration on all hosts

This commit is contained in:
2021-02-28 01:02:39 +00:00
parent 4d8bee5fd8
commit 449585b4f7

View File

@@ -18,15 +18,14 @@ else
export VISUAL=vi
fi
# Load iTerm2 integration, for all hosts
source ~/.bash/iterm2_integration.bash
# OSX Specific envs
if [ $(uname) == "Darwin" ]; then
# Shhh Catlina, we don't care!
export BASH_SILENCE_DEPRECATION_WARNING=1
if [ "${TERM_PROGRAM}" == "iTerm.app" ]; then
source ~/.bash/iterm2_integration.bash
fi
# M1 specific hacks
if [ $(uname -p) == "arm" ]; then
# Stop golang progs having fun with Rosetta 2 (https://yaleman.org/post/2021/2021-01-01-apple-m1-terraform-and-golang/)