Skip to content

Commit

Permalink
rename debug.sh to dumper.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Oct 5, 2024
1 parent 6133ac4 commit dc6d099
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ A collection of debugging functions in bash.

or

1. Copy-paste the entire file `src/debug.sh`
1. Copy-paste the entire file `src/dumper.sh`
```bash
# bash-dumper
curl -L https://raw.githubusercontent.com/Chemaclass/bash-dumper/refs/heads/main/src/debug.sh \
-o src/debug.sh
curl -L https://raw.githubusercontent.com/Chemaclass/bash-dumper/refs/heads/main/src/dumper.sh \
-o src/dumper.sh
```
2. Import the file into your main script
```bash
declare -r ROOT_DIR="$(dirname "${BASH_SOURCE[0]}")"

source "$ROOT_DIR/src/debug.sh"
source "$ROOT_DIR/src/dumper.sh"
```
3. now you have access to all functions inside `debug.sh`⚡️
3. now you have access to all functions inside `dumper.sh`⚡️

> Example: [Chemaclass/bash-skeleton](https://github.com/Chemaclass/bash-skeleton/blob/main/install-dependencies.sh)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit dc6d099

Please sign in to comment.