X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=shell%2Fsetup.sh;h=7db9722ad9a5b20fb71dc8d188793404595f6640;hp=4276b42f67eb6393730900305f9092a570e1d05f;hb=dab786b7775766e62acd77e57794d8425a5e6e35;hpb=4b330f390e94e31f406cfaaad8e3397ebc3f89de diff --git a/shell/setup.sh b/shell/setup.sh index 4276b42..7db9722 100755 --- a/shell/setup.sh +++ b/shell/setup.sh @@ -234,6 +234,12 @@ if installed dig; then grep -v -E '^#' digrc.in >digrc fi +_iptables='/usr/share/zsh/functions/Completion/Linux/_iptables' +if test -f "$_iptables"; then + sed '/^#compdef/ s/iptables/& ip6tables/' \ + < "$_iptables" \ + > zsh/functions/_iptables +fi # LINK SETUP