From afb5d71598b6e340ec50020ff2104552729e10da Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Sun, 6 Apr 2025 18:37:33 -0500 Subject: [PATCH] u --- dots/bash/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/bash/.bashrc b/dots/bash/.bashrc index 968af61..b95185d 100644 --- a/dots/bash/.bashrc +++ b/dots/bash/.bashrc @@ -155,7 +155,7 @@ alias nas-unmount-2="sudo umount /mnt/nas" nas() { - if [ -f $1 ] && [ -f $2 ] ; then + if [[ -n $1 ]] && [[ -n $2 ]] ; then if [ $1 == "mount" ] ; then echo "mount /mnt/nas" @@ -169,7 +169,7 @@ nas() { else - echo "sry, bud! i did not understand that one. try: 'nas {mount,umount} {ip}?'" + echo "sry, bud! i did not understand that one. try: 'nas {mount,umount} {ip?}'" fi