Add surfraw - lot of search engines in CLI
This commit is contained in:
parent
f7e10d767d
commit
196186e7cd
2
Brewfile
2
Brewfile
@ -68,6 +68,8 @@ brew "googler"
|
|||||||
brew "bat"
|
brew "bat"
|
||||||
# https://github.com/jhspetersson/fselect
|
# https://github.com/jhspetersson/fselect
|
||||||
brew "fselect"
|
brew "fselect"
|
||||||
|
# Add surfraw https://github.com/kisom/surfraw
|
||||||
|
brew "surfraw"
|
||||||
|
|
||||||
mas 'Keynote', id: 409183694
|
mas 'Keynote', id: 409183694
|
||||||
mas 'iMovie', id: 408981434
|
mas 'iMovie', id: 408981434
|
||||||
|
@ -178,3 +178,12 @@ wget https://github.com/sharkdp/bat/releases/download/v0.11.0/bat-v0.11.0-x86_64
|
|||||||
|
|
||||||
# Install fselect
|
# Install fselect
|
||||||
cargo install fselect
|
cargo install fselect
|
||||||
|
|
||||||
|
# surfraw
|
||||||
|
git clone --depth 1 https://github.com/kisom/surfraw.git \
|
||||||
|
&& cd surfraw
|
||||||
|
&& ./prebuild
|
||||||
|
&& ./configure
|
||||||
|
&& make && make install
|
||||||
|
&& cd .. \
|
||||||
|
&& rm -rf surfraw
|
||||||
|
@ -51,6 +51,8 @@ ln -snf ~/Code/dotfiles/dot_zshrc ~/.zshrc
|
|||||||
ln -snf ~/Code/dotfiles/dot_zshrc.pre-oh-my-zsh ~/.zshrc.pre-oh-my-zsh
|
ln -snf ~/Code/dotfiles/dot_zshrc.pre-oh-my-zsh ~/.zshrc.pre-oh-my-zsh
|
||||||
ln -snf ~/Code/dotfiles/private_dot_ssh/config ~/.ssh/config
|
ln -snf ~/Code/dotfiles/private_dot_ssh/config ~/.ssh/config
|
||||||
ln -snf ~/Code/dotfiles/requirements.txt ~/requirements.txt
|
ln -snf ~/Code/dotfiles/requirements.txt ~/requirements.txt
|
||||||
|
ln -snf ~/Code/dotfiles/dot_surfraw.conf ~/.surfraw.conf
|
||||||
|
|
||||||
# Other symblinks + Install Docker Desktop for Mac
|
# Other symblinks + Install Docker Desktop for Mac
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
|
4
dot_surfraw.conf
Normal file
4
dot_surfraw.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# https://github.com/tsgates/arch-wiki-markdown/blob/master/wiki/Surfraw.md
|
||||||
|
SURFRAW_graphical_browser=/usr/bin/firefox
|
||||||
|
SURFRAW_text_browser=/usr/local/bin/lynx
|
||||||
|
SURFRAW_graphical=no
|
@ -40,6 +40,8 @@ alias tsearchtimeline='twitter search timeline'
|
|||||||
# Search
|
# Search
|
||||||
alias ddg='ddgr'
|
alias ddg='ddgr'
|
||||||
alias goo='googler'
|
alias goo='googler'
|
||||||
|
alias se='sr -elvi'
|
||||||
|
alias engines='sr -elvi'
|
||||||
|
|
||||||
# Events
|
# Events
|
||||||
alias agenda='calendar'
|
alias agenda='calendar'
|
||||||
|
Loading…
Reference in New Issue
Block a user