mirror of
https://github.com/mqttr/dotfiles.git
synced 2025-12-15 04:25:50 -06:00
feat(zsh): add 2>/dev/null to some commands that usually fail in .zshrc
This commit is contained in:
@@ -13,7 +13,7 @@ fi
|
||||
source "$HOME/.cargo/env"
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
export projects="/media/shared/Projects/"
|
||||
export classes=$(eza --absolute -1 $HOME/Documents/Classes | sort -t_ -k 1,1 -k 2,2r | tail -n 1)
|
||||
export classes=$(eza --absolute -1 $HOME/Documents/Classes 2>/dev/null | sort -t_ -k 1,1 -k 2,2r | tail -n 1)
|
||||
export steam_loc="$HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata"
|
||||
|
||||
export EDITOR="/usr/bin/nvim"
|
||||
@@ -98,7 +98,7 @@ export LESS_TERMCAP_so LESS_TERMCAP_ue LESS_TERMCAP_us
|
||||
|
||||
eval "$(zoxide init zsh --cmd cd)"
|
||||
eval "$(fzf --zsh)"
|
||||
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/ohmyposh.toml)"
|
||||
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/ohmyposh.toml 2>/dev/null)"
|
||||
|
||||
alias update-grub='sudo grub2-mkconfig -o /boot/grub2/grub.cfg'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user