Skip to content

Instantly share code, notes, and snippets.

@nclundsten
Created December 15, 2015 22:08
Show Gist options
  • Save nclundsten/01304ff660c5abd11c45 to your computer and use it in GitHub Desktop.
Save nclundsten/01304ff660c5abd11c45 to your computer and use it in GitHub Desktop.
.profile
# 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