2025-10-08 10:35:48 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
alias ri='source ~/.init/init.sh'
|
|
|
|
|
|
|
|
|
|
# git
|
2025-10-10 16:24:06 +02:00
|
|
|
alias g0='git add . && git diff --quiet && git diff --cached --quiet'
|
2025-10-11 12:40:09 +02:00
|
|
|
alias g1='git reset $(git commit-tree "HEAD^{tree}" -m "A new start")'
|
|
|
|
|
alias g2='git log --format=%B -n 1 HEAD | head -n 1'
|
2025-10-08 10:35:48 +02:00
|
|
|
|
|
|
|
|
# rsync
|
|
|
|
|
alias rs='rsync --rsync-path="sudo rsync" -avzhe ssh'
|
|
|
|
|
|
|
|
|
|
# serve static files
|
|
|
|
|
alias ss='python -m http.server 8000 -d'
|
|
|
|
|
|
|
|
|
|
# download youtube mp3
|
|
|
|
|
alias yt='yt-dlp -x --audio-format mp3'
|