17 lines
651 B
Text
17 lines
651 B
Text
export GPG_TTY=$(tty)
|
|
|
|
alias occ='docker exec --user www-data nextcloud_app php occ'
|
|
alias m='mtr --displaymode 1 -z'
|
|
alias n='nmap -A -T4'
|
|
alias nn='nmap -Pn --reason --packet-trace -T5'
|
|
alias mc='docker exec -i mc rcon-cli'
|
|
alias wanip='curl -sL4 ip.hetzner.com && curl -sL6 ip.hetzner.com'
|
|
alias ls='ls -lAh --color=auto'
|
|
alias s='ssh'
|
|
alias so='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l root'
|
|
alias mci='docker exec -i mc rcon-cli'
|
|
alias mc='docker exec mc rcon-cli'
|
|
|
|
alias sa='ssh-agent -k; eval $(ssh-agent) && ssh-add ~/.ssh/*.ed25519'
|
|
|
|
PS1="\033[01;31m\u\033[01;33m@\033[01;36m\h\033[01;33m \w\033[01;32m\n> \033[00m"
|