summaryrefslogtreecommitdiff
path: root/config/shell/aliasrc
diff options
context:
space:
mode:
Diffstat (limited to 'config/shell/aliasrc')
-rw-r--r--config/shell/aliasrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/shell/aliasrc b/config/shell/aliasrc
index 41a2395..2de3313 100644
--- a/config/shell/aliasrc
+++ b/config/shell/aliasrc
@@ -5,6 +5,10 @@
[ -x "$(command -v nvim)" ] && alias vi="nvim"
[ -x "$(command -v neomutt)" ] && alias mutt="neomutt"
+if [ -x "$(command -v nsxiv)" ] && ! [ -x "$(command -v sxiv)" ]; then
+ alias sxiv="nsxiv"
+fi
+
# TODO: Deal with the flags that are not supported on BSD
# Older versions of ip doesn't support -color flg, so don't use it
alias \