summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2022-05-01 15:12:30 +0200
committerReiner Herrmann <reiner@reiner-h.de>2022-05-01 15:12:30 +0200
commit6d345315a300a3580cb3b644cc71c4485748bb2b (patch)
tree149eb79594d472ac0989786413dfcfa04df2ee5c /bashrc
parent4ad810e9ee0aa016781d5a316ea63345cf8f47f2 (diff)
bashrc: use exa and ls if available
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 292c288..1865a78 100644
--- a/bashrc
+++ b/bashrc
@@ -35,6 +35,8 @@ alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias rgrep='rgrep --color=auto'
+[ -x /usr/bin/exa ] && alias ls='exa'
+[ -x /usr/bin/batcat ] && alias cat='batcat'
case "$TERM" in
xterm*|rxvt*)