From 6d345315a300a3580cb3b644cc71c4485748bb2b Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 1 May 2022 15:12:30 +0200 Subject: bashrc: use exa and ls if available --- bashrc | 2 ++ 1 file changed, 2 insertions(+) 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*) -- cgit v1.2.3