Last active
July 23, 2020 20:04
-
-
Save YazeedAlKhalaf/2e063e344b3f3f4bb99a79c601e17a13 to your computer and use it in GitHub Desktop.
This is a simple script for appending a path to PATH environment variable
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/sh | |
# Author: Yazeed AlKhalaf | |
# This is a simple script for appending a path to PATH environment variable | |
echo "" >> ~/.bashrc | |
echo "export PATH=\"\$PATH:$1\"" >> ~/.zshrc |
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/sh | |
# Author: Yazeed AlKhalaf | |
# This is a simple script for appending a path to PATH environment variable | |
echo "" >> ~/.bashrc | |
echo "export PATH=\"\$PATH:$1\"" >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment