diff --git a/.zshrc b/.zshrc index b30fb259..f8804e00 100644 --- a/.zshrc +++ b/.zshrc @@ -152,7 +152,11 @@ function mksh() { /usr/bin/chmod +x "$filepath" echo "$filepath created." else - echo "$filepath already exists or is invalid." + if [[ "$filepath" == ".sh" ]]; then + echo "You must supply an argument!" + else + echo "$filepath already exists" + fi fi }