diff --git a/Brewfile b/Brewfile index c030240..0c0acc7 100644 --- a/Brewfile +++ b/Brewfile @@ -68,6 +68,8 @@ brew "googler" brew "bat" # https://github.com/jhspetersson/fselect brew "fselect" +# Add surfraw https://github.com/kisom/surfraw +brew "surfraw" mas 'Keynote', id: 409183694 mas 'iMovie', id: 408981434 diff --git a/centos.sh b/centos.sh index 9e5d10e..717cf8e 100644 --- a/centos.sh +++ b/centos.sh @@ -178,3 +178,12 @@ wget https://github.com/sharkdp/bat/releases/download/v0.11.0/bat-v0.11.0-x86_64 # 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 diff --git a/dot_scripts/bootstrap.sh b/dot_scripts/bootstrap.sh index 0ead157..3fe032d 100755 --- a/dot_scripts/bootstrap.sh +++ b/dot_scripts/bootstrap.sh @@ -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/private_dot_ssh/config ~/.ssh/config ln -snf ~/Code/dotfiles/requirements.txt ~/requirements.txt +ln -snf ~/Code/dotfiles/dot_surfraw.conf ~/.surfraw.conf + # Other symblinks + Install Docker Desktop for Mac case "$(uname -s)" in Darwin) diff --git a/dot_surfraw.conf b/dot_surfraw.conf new file mode 100644 index 0000000..738acf9 --- /dev/null +++ b/dot_surfraw.conf @@ -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 diff --git a/dot_zsh_aliases b/dot_zsh_aliases index 58a0819..84a6145 100644 --- a/dot_zsh_aliases +++ b/dot_zsh_aliases @@ -40,6 +40,8 @@ alias tsearchtimeline='twitter search timeline' # Search alias ddg='ddgr' alias goo='googler' +alias se='sr -elvi' +alias engines='sr -elvi' # Events alias agenda='calendar'