google () { local tmp=`echo -n $@` w3m "www.google.com/search?hl=en&q=$tmp"; }
bash 適用
$ google foo bar
不過因為 shell 本身的特性的關係會吃掉一些像是 空白或是 $ 之類的符號
當然如果要白目這樣做的話也是自己找死XDDDDD
google foo;rm -rf /
google () { local tmp=`echo -n $@` w3m "www.google.com/search?hl=en&q=$tmp"; }
altscreen on # erase screen when quit apps defutf8 on defc1 off # treat input chars 128 ~ 159 as control functions defflow on activity "activity in %n (%t)" bell_msg "bell in %n (%t)" vbell on vbell_msg "WTF!!!" startup_message off nethack on shell $SHELL # using Ctrl+Left & Ctrl+Right bindkey ^[[1;5D prev bindkey ^[[1;5C next bindkey \033[D prev bindkey \033[C next # encoding defencoding utf8 bind b encoding big5 utf8 bind u encoding utf8 utf8 defbce on # erase background with current bg color cjkwidth off caption always "%{=u .M}%-w%<%{=ub C}%n %t%{=u .M}%+w%-09=" hardstatus alwayslastline "%{ kk}%{g}%e%<%=%{Y} %D%c:%s %a%{R} %M %d/%m/%Y %=[%{G}@%H %{M}Load: %l %{w}%{R}]" screen -t htop 0 screen -t root 1 screen -t bash 2 screen -t bash 3 screen -t bash 4 screen -t bash 5 screen -t TODO 6 screen -t bash 7 screen -t circbot 8 screen -t irssi 9 screen -t turses 10
set cursorline set cursorcolumn hi CursorLine term=none cterm=none ctermbg=none ctermbg=none hi CursorColumn term=none cterm=none ctermbg=none ctermbg=none au InsertEnter * hi CursorLine term=none ctermbg=darkblue au InsertLeave * hi CursorLine term=none cterm=none ctermbg=none au InsertEnter * hi CursorColumn term=none ctermbg=darkblue au InsertLeave * hi CursorColumn term=none cterm=none ctermbg=none