Update 2023-01-31 18:41 OpenBSD/amd64
This commit is contained in:
@@ -19,7 +19,12 @@ test -f ${HOME}/.bin/_config \
|
||||
test -f "${HISTFILE}" \
|
||||
|| touch "${HISTFILE}"
|
||||
|
||||
HISTDATA="$(while IFS= read -r l; do echo "${#l} $((++n)) $l"; done < "${HISTFILE}" | sort -t\| -k 2 -u | sort -n | cut -d" " -f3-)"
|
||||
HISTDATA="$(while IFS= read -r l; do echo "${#l} $((++n)) $l"; done \
|
||||
< "${HISTFILE}" \
|
||||
| sed 's|/$||;s|http[s]\{0,1\}://||' \
|
||||
| sort -t\| -k 2 -u \
|
||||
| sort -n \
|
||||
| cut -d" " -f3-)"
|
||||
|
||||
PICKLIST="paste_from_clipboard
|
||||
pick_from_history
|
||||
|
||||
Reference in New Issue
Block a user