Created
December 15, 2015 22:08
-
-
Save nclundsten/01304ff660c5abd11c45 to your computer and use it in GitHub Desktop.
.profile
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
# detect if we're in a PASE shell | |
/QSYS.LIB/QSHELL.LIB/UNAME.PGM > /dev/null 2>&1 | |
if [ $? != 0 -a "$SHELL" != "/bin/bash" ] | |
then | |
exec /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment