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