shrc: remove stderr redirect from command calls

This commit is contained in:
Lucas 2022-08-08 16:25:57 +00:00
parent 35002770b8
commit 17bccfb1b0
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ alias ll="ls -lF"
alias mv="mv -i"
alias p="$PAGER"
if command -v nvi >/dev/null 2>&1; then
if command -v nvi >/dev/null; then
alias vi=nvi
fi
@ -43,7 +43,7 @@ if [ -d ~/local/libdata/perl5/site_perl ]; then
fi
PS1=
if command -v git >/dev/null 2>&1 && [ -f ~/code/lucas/env/utils/shgit ]; then
if command -v git >/dev/null && [ -f ~/code/lucas/env/utils/shgit ]; then
. ~/code/lucas/env/utils/shgit
export PS1='$(shgit)'
fi
@ -68,7 +68,7 @@ Linux)
;;
esac
if command -v nncp-call >/dev/null 2>&1; then
if command -v nncp-call >/dev/null; then
NNCPCFG=~/.config/nncp
export NNCPCFG
fi