Bugs in network setting aliases are fixed.
authorShingo W. Kagami
Fri, 22 Jan 2010 12:17:51 +0900
changeset 59333b578b235
parent 4 3178ea577286
child 6 5aa5183ce1dd
Bugs in network setting aliases are fixed.
.zshrc.cygwin
     1.1 --- a/.zshrc.cygwin	Fri Jan 22 00:55:44 2010 +0900
     1.2 +++ b/.zshrc.cygwin	Fri Jan 22 12:17:51 2010 +0900
     1.3 @@ -28,8 +28,9 @@
     1.4  alias dualdisp_on='wscript C:\\cygwin\\home\\swk\\lib\\disp\\toggle_dualdisp.vbs on'
     1.5  alias dualdisp_off='wscript C:\\cygwin\\home\\swk\\lib\\disp\\toggle_dualdisp.vbs off'
     1.6  
     1.7 -toggle='C:\\cygwin\\home\\swk\\lib\\net\\toggle_if.vbs'
     1.8 -alias lan_ic='wscript ${toggle} wireless disable; wscript ${toggle} lan enable; ~/lib/net/net_ic.bat'
     1.9 -alias lan_dhcp='wscript ${toggle} wireless disable; wscript ${toggle} lan enable; ~/lib/net/net_dhcp.bat'
    1.10 -alias wireless_ic='wscript ${toggle} lan disable; wscript ${toggle} wireless enable; ~/lib/net/net_ic.bat'
    1.11 -alias wireless_dhcp='wscript ${toggle} lan disable; wscript ${toggle} wireless enable; ~/lib/net/net_dhcp.bat'
    1.12 +tg='C:\\cygwin\\home\\swk\\lib\\net\\toggle_if.vbs'
    1.13 +alias lan_ic="wscript ${tg} wireless disable; wscript ${tg} lan enable; ~/lib/net/net_ic.sh lan"
    1.14 +alias lan_dhcp="wscript ${tg} wireless disable; wscript ${tg} lan enable; ~/lib/net/net_dhcp.sh lan"
    1.15 +alias wireless_ic="wscript ${tg} lan disable; wscript ${tg} wireless enable; ~/lib/net/net_ic.sh wireless"
    1.16 +alias wireless_dhcp="wscript ${tg} lan disable; wscript ${tg} wireless enable; ~/lib/net/net_dhcp.sh wireless"
    1.17 +unset tg