mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
parent
e15a68c6a4
commit
8d78a8d50f
@ -312,6 +312,9 @@ fi
|
||||
|
||||
## -- End of aliases which are saved from Ubuntu default bashrc. --
|
||||
|
||||
# Enable colours for diff when in terminal
|
||||
alias diff="diff --color=auto"
|
||||
|
||||
# SSHGuard specific
|
||||
alias sshguard-show-bans="sshguard4-show-bans && sshguard6-show-bans"
|
||||
alias sshguard4-show-bans="sudo iptables -L sshguard --line-numbers"
|
||||
|
3
rc/zshrc
3
rc/zshrc
@ -286,6 +286,9 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
|
||||
|
||||
## -- End of aliases which are saved from Ubuntu default bashrc. --
|
||||
|
||||
# Enable colours for diff when in terminal
|
||||
alias diff="diff --color=auto"
|
||||
|
||||
# SSHGuard specific
|
||||
alias sshguard-show-bans="sshguard4-show-bans && sshguard6-show-bans"
|
||||
alias sshguard4-show-bans="sudo iptables -L sshguard --line-numbers"
|
||||
|
Loading…
Reference in New Issue
Block a user