commit 8ce2c311af7357d7af50f87c40875793e5215bce
parent 88c626fc4a01cd1bf2a5438d3951db77aa457851
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 2 May 2019 21:07:24 +0200
Use nnn, save HN cookies, update nnn
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.commands.sh b/.commands.sh
@@ -6,7 +6,7 @@
alias b='bash'
alias z='zsh'
alias v='vim'
-alias n='vifmrun'
+alias n='nnn'
alias sx="sxiv -ft *"
## cd
@@ -48,6 +48,7 @@ o() {
cd "$(dirname "$file")"
else
nohup $open "$file" >/dev/null 2>&1 &
+ disown
fi
fi
fi
diff --git a/bin/surf-clean-cookies b/bin/surf-clean-cookies
@@ -3,5 +3,5 @@ cookiefile="$HOME/.surf/cookies.txt"
tmpfile="$(mktemp)"
grep -r \
- 'jyskenetbank.dk\|jyskebank.dk\|github.com\|gitlab.com\|macodirect.de\|fotoimpex.com\|skoleintra.dk\|au.dk\|fredmiranda.com' \
+ 'jyskenetbank.dk\|jyskebank.dk\|github.com\|gitlab.com\|macodirect.de\|fotoimpex.com\|skoleintra.dk\|au.dk\|fredmiranda.com\|news.ycombinator.com' \
"$cookiefile" > "$tmpfile" && mv "$tmpfile" "$cookiefile"