update cygwin "ip" alias to be Vista/Win7 compatible (I think) - thanks Mike
This commit is contained in:
parent
df9378d910
commit
5a5fbf2a92
@ -116,7 +116,7 @@ alias jindent='indent -bbo -bl -blf -bli0 -bls -i4 -npcs -nut -ts8'
|
||||
|
||||
# cygwin-specific aliases
|
||||
if [ -e /bin/cygwin1.dll ]; then
|
||||
alias ip="ipconfig | grep 'IP Address' | sed -e 's/.*: //'"
|
||||
alias ip="ipconfig | grep -E 'IP(v4)? Address' | sed -e 's/.*: //'"
|
||||
fi
|
||||
|
||||
# source any machine-local aliases
|
||||
|
Loading…
x
Reference in New Issue
Block a user