mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-07-10 02:40:32 +10:00
Add message for existing zsh shell users
This commit is contained in:
@@ -102,6 +102,7 @@ set +x
|
|||||||
|
|
||||||
# If this user's login shell is already "zsh", do not attempt to switch.
|
# If this user's login shell is already "zsh", do not attempt to switch.
|
||||||
if [ "$(basename -- "$SHELL")" = "zsh" ]; then
|
if [ "$(basename -- "$SHELL")" = "zsh" ]; then
|
||||||
|
echo "You already have zsh as the default shell"
|
||||||
echo "Successfully installed zsh configuration"
|
echo "Successfully installed zsh configuration"
|
||||||
exit 0 # Exit as success
|
exit 0 # Exit as success
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user