aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-06-11 11:07:19 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-06-11 11:07:19 +0800
commitb350a5aec1740c881b9944c3b380aa9f4c7d168d (patch)
tree2d392813f63a9a229f9dcf6d0ab79af14a5b6ea7
parentf597504d0d2d8b88be5a9828d3fc3b9b6675d403 (diff)
parentddf39c75e9d9d4e94fbd7f0b225cd65843b8effc (diff)
Merge remote-tracking branch 'origin/dev' into dev
-rw-r--r--alias1
-rw-r--r--mutt/mailcap5
2 files changed, 4 insertions, 2 deletions
diff --git a/alias b/alias
index fec45cf..718db28 100644
--- a/alias
+++ b/alias
@@ -118,6 +118,7 @@ file.size() {
118 }' 118 }'
119} 119}
120highlight() { grep --color -E "$1|\$"; } 120highlight() { grep --color -E "$1|\$"; }
121alias null='cat /dev/null'
121 122
122# pacman 123# pacman
123alias pac='sudo pacman -S' # pacman install 124alias pac='sudo pacman -S' # pacman install
diff --git a/mutt/mailcap b/mutt/mailcap
index b3ae9f4..17e4d0b 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -1,2 +1,3 @@
1text/html; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; 1#text/html; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal;
2text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput; 2application/*; mkdir -p /tmp/mutt \; cp %s /tmp/mutt \; xdg-open /tmp/mutt/$(basename %s) &
3#text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput;