Skip to content

Commit

Permalink
conditional-run.sh with #ddev-generated
Browse files Browse the repository at this point in the history
  • Loading branch information
hanoii committed Apr 10, 2024
1 parent f8baf2b commit c29d974
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pimp-my-shell/functions/conditional-run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ddev-generated

cr_init() {
if [ "$#" -lt 3 ]; then
>&2 echo -e "\033[0;31m[error/${FUNCNAME[0]}] You need to pass an ID, an extra string (or empty), and a list of tar extra parameters followed by a list of files and/or directories.\033[0m"
Expand Down

0 comments on commit c29d974

Please sign in to comment.