Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OSX shell GNU
# keep you $SHELL as osx bash
# modify your term/iterm2/kitty to start your preffered shell (I do zsh, you can start "up to date" bash from `brew`)
# gnu cmd links without "g" preffixed
mkdir ~/bin-osxoverride
for i in $(ls /usr/local/bin/g*) ;do N=$(basename ${i/g//}); ln -sf $i ~/bin-osxoverride/$N; done
# update your path
echo "export PATH=~/bin-osxoverride:$PATH" >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.