add ncurl function

- used curl + netcat from pass password store
This commit is contained in:
Ben Vincent 2024-06-01 13:37:03 +10:00
parent c37b908c12
commit 8fafb14b77

View File

@ -54,6 +54,10 @@ ytpl-export () {yt-dlp -j --flat-playlist "$1" | jq -r '.id' | sed 's_^_https://
# common date format
shdate () {date +'%Y%m%d'}
ncurl() {
curl --netrc-file <(pass show personal/netrc) "$@"
}
# create function later:
# large image heavy pdf into smaller pdf
# below will: