Alias nftables alias.

This commit is contained in:
Jeremy Gardais 2017-08-04 09:11:30 +02:00
parent 90cd20d3e0
commit db9fa1141b
1 changed files with 11 additions and 9 deletions

6
zshrc
View File

@ -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