Skip to content

Commit

Permalink
Add migration instruction for git bash users (nushell#367)
Browse files Browse the repository at this point in the history
* Add migration instruction for git bash users

* Update coming_from_bash.md

Co-authored-by: Darren Schroeder <[email protected]>
  • Loading branch information
chtenb and fdncred authored Apr 3, 2022
1 parent db0e191 commit 877a862
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions book/coming_from_bash.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Coming from Bash

If you're coming from `Git Bash` on Windows, then the external commands you're used to (bash, grep, etc) will not be available in `nu` by default (unless you had explicitly made them available in the Windows Path environment variable).
To make these commands available in `nu` as well, add the following line to your `config.nu` with either `append` or `prepend`.

```
let-env Path = ($env.Path | prepend 'C:\Program Files\Git\usr\bin')
```

Note: this table assumes Nu 0.14.1 or later.

| Bash | Nu | Task |
Expand Down

0 comments on commit 877a862

Please sign in to comment.