From 0bbd3296f1e65ddc5dab28956b9ac6690efbae92 Mon Sep 17 00:00:00 2001 From: tiynger Date: Mon, 7 Oct 2019 15:39:07 +0200 Subject: [PATCH] adding suffixaliases --- .config/profile | 1 + .config/zsh/suffixaliasrc | 2 ++ 2 files changed, 3 insertions(+) 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"