diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-04-30 16:14:52 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-04-30 16:14:52 +0200 |
| commit | 2ab4cbd49e237a7e6025d3f615f76b10ada46198 (patch) | |
| tree | 419da3e95a91345689a0cfb3035a96173f2638eb | |
| parent | fae7452375f7414ab287eca13dcf313722d5cf01 (diff) | |
| download | dotfiles-2ab4cbd49e237a7e6025d3f615f76b10ada46198.tar.gz dotfiles-2ab4cbd49e237a7e6025d3f615f76b10ada46198.tar.bz2 dotfiles-2ab4cbd49e237a7e6025d3f615f76b10ada46198.zip | |
Added alias for bitwarden userscript
| -rw-r--r-- | config/qutebrowser/config.py | 5 | ||||
| -rw-r--r-- | 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 |
