Created
July 2, 2013 01:27
-
-
Save esehara/5906135 to your computer and use it in GitHub Desktop.
コンソールから色々なURLを開くやつ用意するとちょうべんり ref: http://qiita.com/esehara@github/items/5b51776cd03c9cd6d66f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export console_browser='lynx' | |
export browser='chromium-browser --new-window' | |
#usage | |
# | |
# $ wikipedia デスマーチ | |
# $ english 関数 | |
# $ what zsh | |
# | |
wikipedia () { | |
$console_browser http://ja.wikipedia.org/wiki/$1 | |
} | |
english () { | |
$console_browser http://eow\.alc\.co\.jp/search\?q=$1 | |
} | |
what () { | |
$browser https://www\.google\.co\.jp/search\?q=$1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment