Browse Source

Add error messages to hr

main
Titouan Rigoudy 11 years ago
parent
commit
258be5e56a
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      hr

+ 4
- 0
hr View File

@ -4,10 +4,14 @@ new() {
case "$1" in
"py")
mkdir "$2" && cp skel.py "$2/$2.py" ;;
*)
echo "Unknown command: new $1" ;;
esac
}
case "$1" in
"new")
new "${@:2}" ;;
*)
echo "Unknown command: $1" ;;
esac

Loading…
Cancel
Save