Alias nftables alias.
This commit is contained in:
parent
90cd20d3e0
commit
db9fa1141b
6
zshrc
6
zshrc
|
@ -41,16 +41,18 @@ alias lr='ls -R | grep ":$" | sed -e '\''s/:$//'\'' -e '\''s/[^-][^\/]*\//--/g'\
|
||||||
alias sudo='sudo -E '
|
alias sudo='sudo -E '
|
||||||
alias s='sudo -E '
|
alias s='sudo -E '
|
||||||
if [ ${USER} != "root" ]; then
|
if [ ${USER} != "root" ]; then
|
||||||
|
alias sd='sudo docker'
|
||||||
alias si='sudo iptables -L -vn '
|
alias si='sudo iptables -L -vn '
|
||||||
|
alias sn='sudo nftables list ruleset'
|
||||||
alias sp='sudo puppet agent -t '
|
alias sp='sudo puppet agent -t '
|
||||||
alias sv='sudo -E vi '
|
alias sv='sudo -E vi '
|
||||||
alias sz='sudo -E zsh'
|
alias sz='sudo -E zsh'
|
||||||
alias sd='sudo docker'
|
|
||||||
else
|
else
|
||||||
|
alias sd='docker'
|
||||||
alias si='iptables -L -vn '
|
alias si='iptables -L -vn '
|
||||||
|
alias sn='nftables list ruleset'
|
||||||
alias sp='puppet agent -t '
|
alias sp='puppet agent -t '
|
||||||
alias sv='vi '
|
alias sv='vi '
|
||||||
alias sd='docker'
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Raccourcis pour cat
|
# Raccourcis pour cat
|
||||||
|
|
Loading…
Reference in New Issue