|
|
@@ -432,22 +432,6 @@ __safe_alias pad=gedit |
|
|
|
__safe_alias pad=leafpad |
|
|
|
$isdarwin && alias pad="open -e" |
|
|
|
|
|
|
|
__safe_alias wic=wicd-curses |
|
|
|
__safe_alias wil="wicd-cli -y -l | head" |
|
|
|
#alias wicn="wicd-cli -y -c -n" |
|
|
|
wicn(){ |
|
|
|
if test $# -eq 0 |
|
|
|
then |
|
|
|
local num |
|
|
|
wicd-cli -y -l | head |
|
|
|
echo -n "input num: " |
|
|
|
read num |
|
|
|
test -n "$num" && wicd-cli -y -c -n $num |
|
|
|
else |
|
|
|
wicd-cli -y -c -n $1 |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
__find_latest_vimdir(){ |
|
|
|
vimdir=/usr/share/vim |
|
|
|
if test -d "$vimdir" |
|
|
|