Skip to content

Commit

Permalink
docs: Use #!/bin/sh instead of #!/bin/bash
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Jul 28, 2022
1 parent 610e054 commit 0927958
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ The above example is running from a single shell script ([source](./examples/dem
## Tutorial

Gum provides highly configurable, ready-to-use utilities to help you write
useful shell scripts and dotfiles aliases with just a few lines of bash code.
useful shell scripts and dotfiles aliases with just a few lines of code.

Let's build a simple script to help you write [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) for your
dotfiles.

Start with a `#!/bin/bash`.
Start with a `#!/bin/sh`.
```bash
#!/bin/bash
#!/bin/sh
```

Ask for the commit type with `gum choose`:
Expand Down Expand Up @@ -70,7 +70,7 @@ gum confirm "Commit changes?" && git commit -m "$SUMMARY" -m "$DESCRIPTION"
Putting it all together...

```bash
#!/bin/bash
#!/bin/sh
TYPE=$(gum choose "fix" "feat" "docs" "style" "refactor" "test" "chore" "revert")
SCOPE=$(gum input --placeholder "scope")

Expand Down

0 comments on commit 0927958

Please sign in to comment.