Browse Source

update wicn

pull/1/head
10sr 12 years ago
parent
commit
fdf5aafb5e
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      bashrc

+ 13
- 1
bashrc View File

@@ -118,7 +118,19 @@ alias screen="screen -e^z^z"

alias wic=wicd-curses
alias wil="wicd-cli -y -l | head"
alias wicn="wicd-cli -y -c -n"
#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
}

alias aptin="apt-get install"
alias aptsearch="apt-cache search"


Loading…
Cancel
Save