diff options
-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' \ |