autopush by david@ghost
This commit is contained in:
parent
5de4bcea44
commit
11f79fe74f
10
myzsh.sh
10
myzsh.sh
|
@ -19,10 +19,12 @@ fi
|
|||
if [[ -n $(git status -s ${SUBMODULE_SYNTAX} 2> /dev/null) ]]; then
|
||||
echo -n "[myzsh]: local myzsh repo is dirty. commit and push changes? [y/n]"
|
||||
read choice
|
||||
if [ -n $choice ] && [ $choice = "y" ]; then
|
||||
git add **/*[^lastrun]
|
||||
git commit -am "autopush by $(whoami)@$(hostname)"
|
||||
git push origin master
|
||||
if [ $choice ]; then
|
||||
if [ "$choice" = "y" ]; then
|
||||
git add **/*[^lastrun]
|
||||
git commit -am "autopush by $(whoami)@$(hostname)"
|
||||
git push origin master
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
cd - > /dev/null
|
||||
|
|
|
@ -235,3 +235,4 @@ fixtrackpoint()
|
|||
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
|
||||
xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.75
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue