summaryrefslogtreecommitdiffstats
path: root/dot_config/zsh/aliasrc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zsh/aliasrc')
-rw-r--r--dot_config/zsh/aliasrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/dot_config/zsh/aliasrc b/dot_config/zsh/aliasrc
index 75903ee..e77c307 100644
--- a/dot_config/zsh/aliasrc
+++ b/dot_config/zsh/aliasrc
@@ -6,6 +6,12 @@
# If code-insiders exists and code does not, use code-insiders.
[ -x "$(command -v code-insiders)" ] && [ ! -x "$(command -v code)" ] && alias code="code-insiders"
+# if batcat exists and bat does not, use batcat.
+[ -x "$(command -v batcat)" ] && [ ! -x "$(command -v bat)" ] && alias bat="batcat"
+
+# If fdfind exists and fd does not, use fdfind.
+[ -x "$(command -v fdfind)" ] && [ ! -x "$(command -v fd)" ] && alias fd="fdfind"
+
# Use $XINITRC variable if file exists.
[ -f "$XINITRC" ] && alias startx='startx "$XINITRC"'