diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-10-08 16:50:21 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-10-08 16:50:21 +0000 |
commit | c3e28c7ffcf1dc68fef04f541b1302df05d8e30c (patch) | |
tree | 3d786ba8dbc3ab280c2ce088c1541f522cd46663 /.bashrc | |
parent | 2143dee6dc9d60d144537d64500abc0f62782ad9 (diff) | |
download | dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.gz dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.bz2 dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.lz dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.xz dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.zst dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.zip |
Some shell changes and improvements
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" |