mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
fix(updater): make sure to run it with zsh
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
if [ -z "$ZSH_VERSION" ]; then
|
||||||
|
exec zsh "$0"
|
||||||
|
fi
|
||||||
|
|
||||||
cd "$ZSH"
|
cd "$ZSH"
|
||||||
|
|
||||||
# Use colors, but only if connected to a terminal
|
# Use colors, but only if connected to a terminal
|
||||||
|
|||||||
Reference in New Issue
Block a user