docs: use $EDITOR instead of EDITOR (#897)

This commit is contained in:
haya14busa 2025-04-30 20:43:13 +09:00 committed by GitHub
commit 39290a03b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -264,7 +264,7 @@ gum confirm && rm file.txt || echo "File not removed"
Prompt the user to select a file from the file tree.
```bash
EDITOR $(gum file $HOME)
$EDITOR $(gum file $HOME)
```
<img src="https://vhs.charm.sh/vhs-2RMRqmnOPneneIgVJJ3mI1.gif" width="600" alt="Shell running gum file" />