Created
December 20, 2024 18:18
-
-
Save jclosure/28b855c9a52a7b59b08bd212eaaa62c3 to your computer and use it in GitHub Desktop.
Switch to zsh shell when user acct is in ldap and chsh doesn't work.
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
# normal .bashrc content here... | |
# CUSTOMIZATIONS | |
# Switch to ZSH shell | |
if test -t 1; then | |
exec zsh | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment