X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=c9ccee1a985e1f55e81d22699c46b99a26c0297f;hb=112cbc0a0e6089f2159f822b29ea5dd04fff1118;hp=e17dd9e24bb4c57c535cc63f9dd43eb837f02930;hpb=80da86cdf673fb3bc7879723423e9e5d66e69692;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index e17dd9e..c9ccee1 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2986,7 +2986,7 @@ ipv6-tunnel() { # run dhclient for wireless device iwclient() { - salias dhclient "$(wavemon -d | awk '/device/{print $2}')" + sudo dhclient "$(wavemon -d | awk '/device/{print $3}')" } # spawn a minimally set up mksh - useful if you want to umount /usr/. @@ -3369,7 +3369,7 @@ bk() { #f5# Copied diff cdiff() { emulate -L zsh - diff -crd "$*" | egrep -v "^Only in |^Binary files " + diff -crd "$@" | egrep -v "^Only in |^Binary files " } #f5# cd to directoy and list files cl() {