delete old aliases

This commit is contained in:
2025-06-26 22:24:18 +02:00
parent 0df9a11c2d
commit 269567f4f3
-41
View File
@@ -1,41 +0,0 @@
alias ll="ls -la"
jc() {
screen -S joycontrol -X stuff "$1^M"
}
jcstart() {
cd ~/joycontrol
git pull --ff-only
screen -dmS joycontrol sudo python3 run_controller_cli.py PRO_CONTROLLER -r 98:E2:55:92:E8:81
cd
}
jcstop() {
screen -S joycontrol -X quit
}
jcrestart() {
jcstop
jcstart
}
jcmacro() {
buttonDelay='0.01'
if [[ ! -z $2 ]]; then
buttonDelay=$2
fi
while read -r line; do
if [[ ${line:0:1} != "#" ]]; then
jc "$line"
jc "sleep $buttonDelay"
fi
done < "$1"
}
if screen -ls | grep joycontrol; then
echo "joycontrol already running, restart id needed"
else
jcstart
fi