From 2ab4cbd49e237a7e6025d3f615f76b10ada46198 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 30 Apr 2021 16:14:52 +0200 Subject: Added alias for bitwarden userscript --- config/qutebrowser/config.py | 5 +++-- config/zsh/.zshrc | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 29db4e9..a364bef 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -20,8 +20,9 @@ def filter_yt(info: interceptor.Request): interceptor.register(filter_yt) c.aliases = { - 'q': 'close', - 'sc': 'config-source' + 'q': 'close', + 'sc': 'config-source', + 'bw': """spawn --userscript qute-bitwarden -d 'dmenu -P -w 0 -p "master password"' """, } c.url.start_pages = ['https://searx.cacharle.xyz'] diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index c1e33ce..9850b59 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -10,7 +10,7 @@ case $(tty) in # %~ path ('~' if $HOME) # %B/%b start/stop bold # %B/%b start/stop color - # shellcheck disable=SC2039 + # shellcheck disable=SC2039,SC3003 NEWLINE=$'\n' export PROMPT="${NEWLINE}%B%F{blue}%~%f${NEWLINE}%F{red}> %f%b" ;; @@ -59,7 +59,7 @@ chpwd() { [ "$(stat -c "%U" .)" = "$USER" ] && touch . # to sort by last cd } -# shellcheck disable=SC2034,SC2039 +# shellcheck disable=SC2034,SC2039,SC3030 fignore=(o hi) # ignore extensions in autocomplete # pluggins -- cgit