mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
Add shell integration for iterm2
This commit is contained in:
@@ -9,6 +9,7 @@ fi
|
||||
export TZ=GB
|
||||
export LANG=en_GB.UTF-8
|
||||
|
||||
# Make a sensible editor choice
|
||||
if [ -x /usr/bin/nano ]; then
|
||||
export EDITOR=nano
|
||||
export VISUAL=nano
|
||||
@@ -22,6 +23,10 @@ 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/)
|
||||
|
||||
Reference in New Issue
Block a user