projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7e2161
)
zshrc: Fix iwclient()
author
Joerg Woelke
<joewoe@fsmail.de>
Thu, 19 Aug 2010 14:46:31 +0000
(16:46 +0200)
committer
Frank Terbeck
<ft@grml.org>
Thu, 19 Aug 2010 19:39:23 +0000
(21:39 +0200)
Calling dhclient instead of aliasing it.
Make awk print the right field.
Acked-by: Michael Prokop <mika@grml.org>
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
e17dd9e
..
ad5357c
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-2986,7
+2986,7
@@
ipv6-tunnel() {
# run dhclient for wireless device
iwclient() {
- s
alias dhclient "$(wavemon -d | awk '/device/{print $2
}')"
+ s
udo dhclient "$(wavemon -d | awk '/device/{print $3
}')"
}
# spawn a minimally set up mksh - useful if you want to umount /usr/.