1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Standardize on &> when not appending output

This commit is contained in:
Tim Byrne
2019-12-04 22:36:58 -06:00
parent f7485915ed
commit 4d23bbcf11
3 changed files with 19 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ REPO_URL=""
function _private_yadm() {
unset -f yadm
if command -v yadm >/dev/null 2>&1; then
if command -v yadm &> /dev/null; then
echo "Found yadm installed locally, removing remote yadm() function"
unset -f _private_yadm
command yadm "$@"
@@ -57,7 +57,7 @@ function remote_yadm() {
}
function ask_about_source() {
if ! command -v yadm >/dev/null 2>&1; then
if ! command -v yadm &> /dev/null; then
echo
echo "***************************************************"
echo "yadm is NOT currently installed."