Last active
March 29, 2019 08:59
-
-
Save epcim/6f350aa120b98e567fb305ad0ed753b6 to your computer and use it in GitHub Desktop.
OSX shell GNU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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