diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2023-01-10 18:39:41 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2023-01-10 18:39:41 +0000 |
commit | 74de7af4d68e765a5f2641761bc78138e70e9725 (patch) | |
tree | 490aefb93f55406c413d631382bc426421cd0d15 /.bashrc | |
parent | a3e63f3e49af6360665f6e5045ee9b599294b18d (diff) | |
download | dotfiles-74de7af4d68e765a5f2641761bc78138e70e9725.tar dotfiles-74de7af4d68e765a5f2641761bc78138e70e9725.tar.gz dotfiles-74de7af4d68e765a5f2641761bc78138e70e9725.tar.bz2 dotfiles-74de7af4d68e765a5f2641761bc78138e70e9725.tar.lz dotfiles-74de7af4d68e765a5f2641761bc78138e70e9725.tar.xz dotfiles-74de7af4d68e765a5f2641761bc78138e70e9725.tar.zst dotfiles-74de7af4d68e765a5f2641761bc78138e70e9725.zip |
Add null-ls to neovim
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" |