diff options
author | Joe <rbo@gmx.us> | 2024-09-24 00:26:00 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-09-24 00:26:12 +0200 |
commit | f1d53fbf1f921c4a0bf3647046a30dd832bcaecf (patch) | |
tree | bef54c0efcd2196ce5a6db2e0bf7a9ebf45bf26e | |
parent | up (diff) | |
download | dotfiles-bsd-f1d53fbf1f921c4a0bf3647046a30dd832bcaecf.tar.gz dotfiles-bsd-f1d53fbf1f921c4a0bf3647046a30dd832bcaecf.tar.bz2 dotfiles-bsd-f1d53fbf1f921c4a0bf3647046a30dd832bcaecf.tar.xz dotfiles-bsd-f1d53fbf1f921c4a0bf3647046a30dd832bcaecf.tar.zst dotfiles-bsd-f1d53fbf1f921c4a0bf3647046a30dd832bcaecf.zip |
up
-rw-r--r-- | .config/zsh/alias.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 72c2747..ce8e9a3 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -211,8 +211,8 @@ twi() { nb() { cache_file="$XDG_DATA_HOME/newsboat/cache.db.gpg" urls_file="$XDG_CONFIG_HOME/newsboat/urls.gpg" - [ -f $cache_file ] && gpg -q -d $cache_file >/tmp/cache.db - [ -f $urls_file ] && gpg -q -d $urls_file >/tmp/urls + [ -f $urls_file ] && gpg -q -d $urls_file >/tmp/urls || return + [ -f $cache_file ] && gpg -q -d $cache_file >/tmp/cache.db || return newsboat -c /tmp/cache.db -u /tmp/urls } alias mutt='neomutt' \ |