Skip to content

Commit

Permalink
Update coming_from_bash.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Turner committed May 6, 2020
1 parent 8b8434f commit 19b0872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/coming_from_bash.md
Expand Up @@ -39,7 +39,7 @@ Note: this table assumes Nushell 0.13.1 or later.
| `export PATH = $PATH:/usr/other/bin` | `<not yet possible>` | Update PATH temporarily |
| `export` | `echo $nu.env` | List the current environment variables |
| `<update ~/.bashrc>` | `echo $nu.env | insert var value | config --set_into env` | Update environment variables permanently |
| `FOO=BAR ./bin` | `with-env [FOO BAR] {./bin}` | Update environment temporarily |
| `FOO=BAR ./bin` | `FOO=BAR ./bin` | Update environment temporarily |
| `alias s="git status -sb"` | `alias s [] { git status -sb }` | Define an alias temporarily |
| `<update ~/.bashrc>` | `config --set [startup ["alias myecho [msg] { echo Hello $msg }"]]` | Add a first alias permanently (for new shells) |
| `<update ~/.bashrc>` | `config --get startup | append "alias s [] { git status -sb }" | config --set_into startup` | Add an additional alias permanently (for new shells) |
Expand Down

0 comments on commit 19b0872

Please sign in to comment.