gotbletu / shownotes

notes for videos from my youtube channel
https://www.youtube.com/user/gotbletu
GNU General Public License v3.0
919 stars 171 forks source link

Surfraw command not working, extra ":"? #33

Closed josh-spatial closed 3 years ago

josh-spatial commented 3 years ago

I keep getting an extra operator in my surfraw results after using your keybinding for websearch with Rofi:

surfraw -browser=$BROWSER $(sr -elvi | awk -F'-' '{print $1}' | sed '/:/d' | awk '{$1=$1};1' | rofi -kb-row-select "Tab" -kb-row-tab "Control+space" -color-window "#000000, #000000, #000000" -color-normal "#000000, #b3e774, #000000, #b3e774, #000000" -color-active "#000000, #b3e774, #000000, #b3e774, #000000" -color-urgent "#000000, #b3e774, #000000, #b3e774, #000000" -dmenu -mesg ">>> Tab = Autocomplete" -i -p "websearch: ")
/usr/lib/surfraw/amazon: 413: test: =: unexpected operator
/usr/lib/surfraw/amazon: 488: https://www.amazon.com/s/ref=nb_ss_gw?url=search-alias%3Daps&field-keywords=pencils: not found
gotbletu commented 3 years ago

not sure it works fine here =) maybe your distro amazon elvi is out of date?