diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-11-23 00:10:14 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-11-23 00:10:14 +0100 |
commit | 0a7b766e67fade604569fe9fe512fbb4f70c4d72 (patch) | |
tree | c79e492fe4b7411f5eda417c6d81f6130ff9931e | |
parent | eb9765c374b2b53dd2f8e7c4b1bec9107386acf7 (diff) |
[vim] Use legacy branch of iron.nvim
-rw-r--r-- | install_wget | 3 | ||||
-rw-r--r-- | mutt/.mutt/muttrc | 2 | ||||
-rw-r--r-- | mutt/.mutt/pandoc.html | 37 | ||||
-rw-r--r-- | zsh/.zshenv | 2 |
4 files changed, 39 insertions, 5 deletions
diff --git a/install_wget b/install_wget index f21bfa7..4800e8d 100644 --- a/install_wget +++ b/install_wget @@ -2,7 +2,8 @@ find . -type f -name "*.wget" | \ while read -r file; do - destination=$HOME/$(echo "${file%.*}" | sed 's#\./[^/]*/##') + destination=$HOME/$(echo "${file%.*}" | sed 's#\./[^/]*/##') + mkdir -p "$(dirname "$destination")" wget "$(cat "$file")" -O "$destination" if [[ "$file" == ./bin/* ]]; then chmod +x "$destination" diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index e40206d..f78b7cb 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -100,4 +100,4 @@ set reverse_name alternates ".*@vaes.uk" # HTML email -macro compose 5 "F pandoc -s -f markdown -t html --webtex -H $HOME/.mutt/pandoc.html \ny^T^Utext/html; charset=utf-8\n" +macro compose 5 "$HOME/.mutt/filter\ny^T^Utext/html; charset=utf-8\n" diff --git a/mutt/.mutt/pandoc.html b/mutt/.mutt/pandoc.html index 010a3ed..c5ced82 100644 --- a/mutt/.mutt/pandoc.html +++ b/mutt/.mutt/pandoc.html @@ -1,8 +1,41 @@ <style> body { - font-family: Source Sans Pro, Courier; + font-family: Monaco, Source Sans Pro, Monospace; padding: 1em; - font-size: 18px; + font-size: 16px; max-width: 46em; } + +blockquote { + background: #ddddee; + font-style: italic; + border-left: 10px solid #ccd; + margin: 1em 10px; + padding: 0.1em 10px; +} + +blockquote blockquote { + background: #ddeedd; + font-style: italic; + border-left: 10px solid #cdc; + margin: 1em 10px; + padding: 0.1em 10px; +} + +a:link { + color: blue; + text-decoration: none; +} + +a:visited { + color: green; + text-decoration: none; +} + +span[class='math display'] { + margin-left: 2em; + margin-top: 1em; + display: block; +} + </style> diff --git a/zsh/.zshenv b/zsh/.zshenv index 0c30d7c..8f9f546 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -2,7 +2,7 @@ export EDITOR=nvim export VISUAL=nvim # Export PATH without repetitions -export -U PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$HOME/.local/bin:$HOME/.gem/ruby/2.5.0/bin:/usr/lib/surfraw${PATH:+:}$PATH" +export -U PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$HOME/.local/bin:$HOME/.gem/ruby/2.5.0/bin${PATH:+:}$PATH" # Python startup file export PYTHONSTARTUP="$HOME/.pythonrc" |