Commit 8c8c2bc
committed
**fix: Correct shell expansion in Git auto-commit alias**
The code change made here is fixing an issue with shell expansion in the GitHub auto-commit alias. The issue was that the command substitution `$(gh commit)` was getting prematurely evaluated which resulted in errors.
The fix replaced it with `"\$(gh commit)"`. By escaping the `$` symbol with a backslash (`\`), the command substitution will be evaluated only when the alias is used, not when it is defined. This allows the proper function of the alias `auto-commit` within the .bashrc file. Now, the `auto-commit` Git alias works as expected, correctly executing the `gh commit` command when used. 📝🐛💻1 parent d6165c0 commit 8c8c2bc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments