Last active
May 4, 2021 10:26
-
-
Save matthewbaggett/faa3c6f7dc8adc08d49ca2a91e31aa04 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Install with: | |
# curl -s https://gist.githubusercontent.com/matthewbaggett/faa3c6f7dc8adc08d49ca2a91e31aa04/raw/8be36b76e886ce57ff88b2ed7423ad1f8d4cee36/gistfile1.txt | sudo tee /etc/profile.d/local-profile-d.sh | |
if [ -d $HOME/.profile.d ]; then | |
for i in $HOME/.profile.d/*.sh; do | |
if [ -r $i ]; then | |
. $i | |
fi | |
done | |
unset i | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment