david/myzsh
david
/
myzsh
Archived
1
0
Fork 0

autopush by david@ghost

This commit is contained in:
david 2017-10-04 00:06:31 +02:00
parent 5de4bcea44
commit 11f79fe74f
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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
}