.git broken, restart

This commit is contained in:
dangerboot
2026-01-23 08:55:18 +01:00
commit d1be8ebdca
206 changed files with 8431 additions and 0 deletions
Executable
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/bash
if [ "$#" -lt 1 ] || [ "$#" -gt 1 ]; then
echo "Usage: $0 alias"
exit 1
fi
F=$(which "$1")
if [ ! -f "$F" ]; then
F="$BIN_DIR/$1"
cp $MACHINE_DIR/usr/home/.vim/templates/template.sh $F
fi
vim "$F"
chmod +x $F
cd $BIN_DIR
git pull
gitaddcommit
git push
cd -
exit 0