Update 2023-01-07 15:07 OpenBSD/amd64

This commit is contained in:
c0dev0id
2023-01-07 15:07:46 +01:00
parent 6a461712ba
commit b7bb393834
6 changed files with 67 additions and 16 deletions

View File

@@ -21,12 +21,14 @@ test -f "${HISTFILE}" \
PICKLIST="paste_from_clipboard
pick_from_history
edit_history_file
-----------------
$(cat "${HISTFILE}" \
| sort -t\| -k 2 -u \
| sort -r \
| cut -b 23- \
| egrep -v ' |^[^a-zA-Z0-9]' \
| grep '\...'\
| grep '..\...'\
)
http://localhost"
@@ -45,6 +47,10 @@ read_input() {
S=$(sort -r "${HISTFILE}" \
| ${DMENU_CMD} -p "History:" \
|cut -b23-) ;;
edit_history_file)
texec "vim +\$ ${HISTFILE}"
dexec_browser
exit 0 ;;
esac
[ -z "${S}" ] && exit 0
@@ -79,7 +85,8 @@ InternetMovieDataBase (IMDB)
OpenStreetMap (OSM)
Grep.app
Google Maps
Youtube"
Youtube
DELETE"
local C="$(printf '%s' "${INPUT}" \
| head -n 1)"