`alias fucking='systemctl --user restart'`
`fucking pipewire`
`fucking kdeconnect-indicator`
@emily but fucking is already sudo
alias fucking="sudo"
alias fuck="sudo !!"
restarting a service should be unfuck
function unfuck () { [[ $(id -u) == 0 ]] && systemctl restart $@ || systemctl restart --user $@ }
im sure none of these actually work but you get the point-
@Maven @emily I'm stealing this "sudo !!", but as a true pole I'm replacing it with 𝚔𝚞𝚛𝚠𝚊
@speaktrap @emily bangs don't work in aliases or functions, i've been trying to get it to work for a while lol
@Maven @speaktrap @emily What shell do you use?
@Maven @speaktrap @emily ```
LAST_COMMAND=$(builtin history -p !!)
echo "last command was: $LAST_COMMAND"
eval "${LAST_COMMAND}"
```

@Maven @emily There is also thefuck, which I use a lot.

https://github.com/nvbn/thefuck

GitHub - nvbn/thefuck: Magnificent app which corrects your previous console command.

Magnificent app which corrects your previous console command. - nvbn/thefuck

GitHub