diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-06-11 11:07:19 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-06-11 11:07:19 +0800 |
commit | b350a5aec1740c881b9944c3b380aa9f4c7d168d (patch) | |
tree | 2d392813f63a9a229f9dcf6d0ab79af14a5b6ea7 | |
parent | f597504d0d2d8b88be5a9828d3fc3b9b6675d403 (diff) | |
parent | ddf39c75e9d9d4e94fbd7f0b225cd65843b8effc (diff) |
Merge remote-tracking branch 'origin/dev' into dev
-rw-r--r-- | alias | 1 | ||||
-rw-r--r-- | mutt/mailcap | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -118,6 +118,7 @@ file.size() { | |||
118 | }' | 118 | }' |
119 | } | 119 | } |
120 | highlight() { grep --color -E "$1|\$"; } | 120 | highlight() { grep --color -E "$1|\$"; } |
121 | alias null='cat /dev/null' | ||
121 | 122 | ||
122 | # pacman | 123 | # pacman |
123 | alias pac='sudo pacman -S' # pacman install | 124 | alias 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 @@ | |||
1 | text/html; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; | 1 | #text/html; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; |
2 | text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput; | 2 | application/*; mkdir -p /tmp/mutt \; cp %s /tmp/mutt \; xdg-open /tmp/mutt/$(basename %s) & |
3 | #text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput; | ||