instant.d.elv 498 B

12345678910111213141516
  1. #elvdoc:var -instant:binding
  2. #
  3. # Binding for the instant mode.
  4. #elvdoc:fn -instant:start
  5. #
  6. # ```elvish
  7. # edit:-instant:start
  8. # ```
  9. #
  10. # Starts the instant mode. In instant mode, any text entered at the command
  11. # line is evaluated immediately, with the output displayed.
  12. #
  13. # **WARNING**: Beware of unintended consequences when using destructive
  14. # commands. For example, if you type `sudo rm -rf /tmp/*` in the instant mode,
  15. # Elvish will attempt to evaluate `sudo rm -rf /` when you typed that far.