summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-09-24 00:26:00 +0200
committerJoe <rbo@gmx.us>2024-09-24 00:26:12 +0200
commitf1d53fbf1f921c4a0bf3647046a30dd832bcaecf (patch)
treebef54c0efcd2196ce5a6db2e0bf7a9ebf45bf26e
parentup (diff)
downloaddotfiles-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.zsh4
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' \