autopush by david@ghost
This commit is contained in:
parent
1482274e64
commit
60c0bafa2c
2
myzsh.sh
2
myzsh.sh
|
@ -10,7 +10,7 @@ if [ $? -eq 1 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# check if there is canges to be pushed
|
# check if there are canges to be pushed
|
||||||
cd $ZSH
|
cd $ZSH
|
||||||
if [[ -n $(git status --porcelain) ]]; then
|
if [[ -n $(git status --porcelain) ]]; then
|
||||||
echo -n "[myzsh]: local myzsh repo is dirty. commit and push changes? [y/n]"
|
echo -n "[myzsh]: local myzsh repo is dirty. commit and push changes? [y/n]"
|
||||||
|
|
Reference in New Issue