mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 12:09:36 +08:00
fix(updater): make sure to run it with zsh
This commit is contained in:
parent
7712da89ee
commit
021f0251e0
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
if [ -z "$ZSH_VERSION" ]; then
|
||||
exec zsh "$0"
|
||||
fi
|
||||
|
||||
cd "$ZSH"
|
||||
|
||||
# Use colors, but only if connected to a terminal
|
||||
|
|
Loading…
Reference in New Issue
Block a user