add aliases for fixing ssh connections

This commit is contained in:
Jakobus Schürz 2024-01-19 08:25:29 +01:00
parent d95e03bf64
commit 607f3f7e16

View file

@ -8,6 +8,8 @@ alias apv="ansible-playbook --ask-vault-pass"
alias fuck='sudo $(history -p \!\!)' alias fuck='sudo $(history -p \!\!)'
alias wosis='which $(history -p \!\!)' alias wosis='which $(history -p \!\!)'
alias fix='reset; stty sane; tput rs1; clear; echo -e "\033c"' # Fix terminal aber binary output alias fix='reset; stty sane; tput rs1; clear; echo -e "\033c"' # Fix terminal aber binary output
alias fixbmi='sudo systemctl restart pcscd; ssh -Oexit svras' # Fix terminal aber binary output
alias fixtoken='sudo systemctl restart pcscd' # Fix terminal aber binary output
# Source https://www.digitalocean.com/community/tutorials/how-to-use-bash-history-commands-and-expansions-on-a-linux-vps # Source https://www.digitalocean.com/community/tutorials/how-to-use-bash-history-commands-and-expansions-on-a-linux-vps
alias vilastcatfile='vim $(history -p \!cat:$:t)' alias vilastcatfile='vim $(history -p \!cat:$:t)'
alias vio='vim $(history -p \!less:$:t)' alias vio='vim $(history -p \!less:$:t)'