diff --git a/.config/profile b/.config/profile index ded08a7..4ce7123 100644 --- a/.config/profile +++ b/.config/profile @@ -18,6 +18,7 @@ export VIDEO="mpv" export AUDIO="mpv" export TABLE="sc-im" export IMAGE="sxiv" +export LATEX="code" # less/man colors export LESS=-R diff --git a/.config/zsh/suffixaliasrc b/.config/zsh/suffixaliasrc index 6dbf7df..c481383 100644 --- a/.config/zsh/suffixaliasrc +++ b/.config/zsh/suffixaliasrc @@ -1,3 +1,5 @@ #/bin/zsh alias -s pdf="background $READER" +alias -s tex="background $LATEX" +alias -s {png,jpg,jpeg}="background $IMAGE"