mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
add: Update the support of git submodules. Including install instrument, installation tool and upgrade tool.
This commit is contained in:
parent
035015ed56
commit
5808761dc8
3 changed files with 9 additions and 3 deletions
|
|
@ -10,6 +10,12 @@ hash git >/dev/null && /usr/bin/env git clone https://github.com/robbyrussell/oh
|
|||
exit
|
||||
}
|
||||
|
||||
echo "\033[0;34mCloining submodule...\033[0m"
|
||||
current_path=`pwd`
|
||||
cd ~/.oh-my-zsh
|
||||
/usr/bin/env git submodule update --init
|
||||
cd "$current_path"
|
||||
|
||||
echo "\033[0;34mLooking for an existing zsh config...\033[0m"
|
||||
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue