diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -18,7 +18,13 @@ fi # Put your fun stuff here. alias cls="clear" -alias cat="$(which bat || which batcat || 'cat')" +BAT="$(which bat || which batcat)" + +if [ -n $BAT ] +then + alias cat="$BAT -p" +fi + alias ls="$(which lsd || 'ls')" alias sudo="$(which doas || which sudo || 'su -c')" alias codium="flatpak run com.vscodium.codium --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland" |