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
|
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]"
|
echo -n "[myzsh]: local myzsh repo is dirty. commit and push changes? [y/n]"
|
||||||
read choice
|
read choice
|
||||||
if [ -n $choice ] && [ $choice = "y" ]; then
|
if [ $choice ]; then
|
||||||
git add **/*[^lastrun]
|
if [ "$choice" = "y" ]; then
|
||||||
git commit -am "autopush by $(whoami)@$(hostname)"
|
git add **/*[^lastrun]
|
||||||
git push origin master
|
git commit -am "autopush by $(whoami)@$(hostname)"
|
||||||
|
git push origin master
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
cd - > /dev/null
|
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" "Evdev Wheel Emulation Axes" 6 7 4 5
|
||||||
xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.75
|
xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.75
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue