aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-03-14 19:39:40 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-03-14 19:39:40 +0000
commit23a89714b19ebc1a0a7e06f5740da5c149bbf4c7 (patch)
tree139461a7a36c3d33248f14f7204bf05a47f22d87
parentb96a812bffa3bc2926c08cc62656bf8dbbe827fd (diff)
downloaddotfiles-23a89714b19ebc1a0a7e06f5740da5c149bbf4c7.tar
dotfiles-23a89714b19ebc1a0a7e06f5740da5c149bbf4c7.tar.gz
dotfiles-23a89714b19ebc1a0a7e06f5740da5c149bbf4c7.tar.bz2
dotfiles-23a89714b19ebc1a0a7e06f5740da5c149bbf4c7.tar.lz
dotfiles-23a89714b19ebc1a0a7e06f5740da5c149bbf4c7.tar.xz
dotfiles-23a89714b19ebc1a0a7e06f5740da5c149bbf4c7.tar.zst
dotfiles-23a89714b19ebc1a0a7e06f5740da5c149bbf4c7.zip
newsboat config update and bump deno completions
-rw-r--r--.config/newsboat/config10
-rwxr-xr-x.local/share/bash-completion/deno135
2 files changed, 129 insertions, 16 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
index 9e39cfe..e529e60 100644
--- a/.config/newsboat/config
+++ b/.config/newsboat/config
@@ -8,6 +8,16 @@ scrolloff 5
#browser "w3m %u"
browser "xdg-open %u"
+unbind-key n
+bind-key n next-unread
+unbind-key N
+bind-key N prev-unread
+
+unbind-key a
+bind-key a mark-feed-read
+unbind-key A
+bind-key A mark-all-feeds-read
+
bind-key RIGHT open
bind-key LEFT quit
diff --git a/.local/share/bash-completion/deno b/.local/share/bash-completion/deno
index 104ec78..61f7a20 100755
--- a/.local/share/bash-completion/deno
+++ b/.local/share/bash-completion/deno
@@ -1,4 +1,3 @@
-#!/usr/bin/env bash
_deno() {
local i cur prev opts cmds
COMPREPLY=()
@@ -114,7 +113,7 @@ _deno() {
return 0
;;
deno__bench)
- opts="-c -r -A -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --ignore --filter --watch --no-clear-screen --help --unstable --log-level --quiet <files>... <SCRIPT_ARG>..."
+ opts="-c -r -A -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --json --ignore --filter --watch --no-clear-screen --help --unstable --log-level --quiet <files>... <SCRIPT_ARG>..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -124,6 +123,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -234,6 +237,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -292,6 +299,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -340,7 +351,7 @@ _deno() {
return 0
;;
deno__check)
- opts="-c -r -h -L -q --import-map --no-remote --no-npm --node-modules-dir --config --no-config --reload --lock --lock-write --no-lock --cert --remote --help --unstable --log-level --quiet <file>..."
+ opts="-c -r -h -L -q --import-map --no-remote --no-npm --node-modules-dir --config --no-config --reload --lock --lock-write --no-lock --cert --all --remote --help --unstable --log-level --quiet <file>..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -350,6 +361,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -400,6 +415,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -598,7 +617,7 @@ _deno() {
return 0
;;
deno__eval)
- opts="-c -r -T -p -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --inspect --inspect-brk --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --ts --ext --print --help --unstable --log-level --quiet <CODE_ARG>..."
+ opts="-c -r -T -p -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --inspect --inspect-brk --inspect-wait --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --ts --ext --print --help --unstable --log-level --quiet <CODE_ARG>..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -608,6 +627,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -648,6 +671,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --inspect-wait)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
--location)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -680,7 +707,7 @@ _deno() {
return 0
;;
deno__fmt)
- opts="-c -h -L -q --config --no-config --check --ext --ignore --watch --no-clear-screen --options-use-tabs --options-line-width --options-indent-width --options-single-quote --options-prose-wrap --help --unstable --log-level --quiet <files>..."
+ opts="-c -h -L -q --config --no-config --check --ext --ignore --watch --no-clear-screen --use-tabs --line-width --indent-width --single-quote --prose-wrap --no-semicolons --help --unstable --log-level --quiet <files>..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -702,15 +729,27 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- --options-line-width)
+ --use-tabs)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
+ --line-width)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- --options-indent-width)
+ --indent-width)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- --options-prose-wrap)
+ --single-quote)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
+ --prose-wrap)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
+ --no-semicolons)
COMPREPLY=($(compgen -W "" -- "${cur}"))
return 0
;;
@@ -790,6 +829,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--log-level)
COMPREPLY=($(compgen -W "" -- "${cur}"))
return 0
@@ -828,7 +871,7 @@ _deno() {
return 0
;;
deno__install)
- opts="-c -r -A -n -f -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --inspect --inspect-brk --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --name --root --force --help --unstable --log-level --quiet <cmd>..."
+ opts="-c -r -A -n -f -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --inspect --inspect-brk --inspect-wait --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --name --root --force --help --unstable --log-level --quiet <cmd>..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -838,6 +881,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -910,6 +957,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --inspect-wait)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
--location)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -1018,7 +1069,7 @@ _deno() {
return 0
;;
deno__repl)
- opts="-c -r -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --inspect --inspect-brk --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --eval-file --eval --unsafely-ignore-certificate-errors --help --unstable --log-level --quiet"
+ opts="-c -r -A -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --inspect --inspect-brk --inspect-wait --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --eval-file --eval --help --unstable --log-level --quiet"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -1028,6 +1079,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -1060,6 +1115,38 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --allow-read)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
+ --allow-write)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
+ --allow-net)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
+ --unsafely-ignore-certificate-errors)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
+ --allow-env)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
+ --allow-sys)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
+ --allow-run)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
+ --allow-ffi)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
--inspect)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -1068,6 +1155,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --inspect-wait)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
--location)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -1088,10 +1179,6 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- --unsafely-ignore-certificate-errors)
- COMPREPLY=($(compgen -f "${cur}"))
- return 0
- ;;
--log-level)
COMPREPLY=($(compgen -W "" -- "${cur}"))
return 0
@@ -1108,7 +1195,7 @@ _deno() {
return 0
;;
deno__run)
- opts="-c -r -A -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --inspect --inspect-brk --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --watch --no-clear-screen --help --unstable --log-level --quiet <SCRIPT_ARG>..."
+ opts="-c -r -A -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --inspect --inspect-brk --inspect-wait --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --watch --no-clear-screen --help --unstable --log-level --quiet <SCRIPT_ARG>..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -1118,6 +1205,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -1190,6 +1281,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --inspect-wait)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
--location)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -1256,7 +1351,7 @@ _deno() {
return 0
;;
deno__test)
- opts="-c -r -A -j -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --inspect --inspect-brk --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --ignore --no-run --trace-ops --doc --fail-fast --allow-none --filter --shuffle --coverage --parallel --jobs --watch --no-clear-screen --help --unstable --log-level --quiet <files>... <SCRIPT_ARG>..."
+ opts="-c -r -A -j -h -L -q --import-map --no-remote --no-npm --node-modules-dir --no-config --config --no-check --check --reload --lock --lock-write --no-lock --cert --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors --allow-env --allow-sys --allow-run --allow-ffi --allow-hrtime --allow-all --prompt --no-prompt --inspect --inspect-brk --inspect-wait --cached-only --location --v8-flags --seed --enable-testing-features-do-not-use --ignore --no-run --trace-ops --doc --fail-fast --allow-none --filter --shuffle --coverage --parallel --jobs --watch --no-clear-screen --help --unstable --log-level --quiet <files>... <SCRIPT_ARG>..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -1266,6 +1361,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --node-modules-dir)
+ COMPREPLY=($(compgen -W "" -- "${cur}"))
+ return 0
+ ;;
--config)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -1338,6 +1437,10 @@ _deno() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --inspect-wait)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
--location)
COMPREPLY=($(compgen -f "${cur}"))
return 0