mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-14 02:14:22 +08:00
15 files changed
+30
-30
No files matched your search
+1
-1
@@ -227,7 +227,7 @@ EOF
|
||||
if [ -n "$SHELL" ]; then
|
||||
echo "$SHELL" > ~/.shell.pre-oh-my-zsh
|
||||
else
|
||||
grep "^$USER:" /etc/passwd | awk -F: '{print $7}' > ~/.shell.pre-oh-my-zsh
|
||||
grep "^$USERNAME:" /etc/passwd | awk -F: '{print $7}' > ~/.shell.pre-oh-my-zsh
|
||||
fi
|
||||
|
||||
# Actually change the default shell to zsh
|
||||
|
||||
Reference in new issue
Block a user