1 2 3 4 5 6
#!/usr/bin/env sh PREFIX=$(surfraw -elvi | grep -v 'LOCAL\|GLOVAL'| fzf --algo=v2 -e | awk '{print $1}') if [ "$PREFIX" = "" ]; then exit;fi read -r -p " $PREFIX >>> Enter The Search Keyword: " INPUT surfraw -p "$PREFIX" "$INPUT" | xsel -p