diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,15 +19,15 @@ fi # Put your fun stuff here. alias cls="clear" -BAT="$(which bat || which batcat)" +BAT="$(which bat 2> /dev/null || which batcat 2> /dev/null)" if [ -n $BAT ] then alias cat="$BAT -p" fi -alias ls="$(which lsd || "ls -h -F --color=auto --group-directories-first")" -alias sudo="$(which doas || which sudo || 'su -c')" +alias ls="$(which lsd 2> /dev/null || echo "ls -h -F --color=auto --group-directories-first")" +alias sudo="$(which doas 2> /dev/null || which sudo 2> /dev/null || echo 'su -c')" alias codium="flatpak run com.vscodium.codium --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland" alias tmux="tmux -2" |