mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge 54c64d16c0 into 861290e40b
This commit is contained in:
commit
bbcb534012
4 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
ZSH=`/usr/bin/env|grep 'ZSH='|cut -d '=' -f 2`
|
ZSH=`/usr/bin/env|grep 'ZSH='|cut -d '=' -f 2`
|
||||||
if [ -d "$ZSH" ]
|
if [ -d "$ZSH" ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
__require_tool_version_compare ()
|
__require_tool_version_compare ()
|
||||||
{
|
{
|
||||||
(
|
(
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
echo "Removing ~/.oh-my-zsh"
|
echo "Removing ~/.oh-my-zsh"
|
||||||
if [[ -d ~/.oh-my-zsh ]]
|
if [[ -d ~/.oh-my-zsh ]]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
|
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
|
||||||
cd "$ZSH"
|
cd "$ZSH"
|
||||||
if git pull --rebase --stat origin master
|
if git pull --rebase --stat origin master
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue