From 17bccfb1b0e34ed6662b6993a8533295d411ad7a Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 8 Aug 2022 16:25:57 +0000 Subject: [PATCH] shrc: remove stderr redirect from command calls --- dotfiles/shrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/shrc b/dotfiles/shrc index a78c045..9dba951 100644 --- a/dotfiles/shrc +++ b/dotfiles/shrc @@ -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