Skip to content

Updated Coming from Bash for reading a secret #1590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions book/coming_from_bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ $env.Path = ($env.Path | prepend 'C:\Program Files\Git\usr\bin')
| `\` | `( <command> )` | A command can span multiple lines when wrapped with `(` and `)` |
| `pwd` | `$env.PWD` | Display the current directory |
| `read var` | `let var = input` | Get input from the user |
| `read -s secret` | `let secret = input -s` | Get a secret value from the user without printing keystrokes |

## History Substitutions and Default Keybindings:

Expand Down