src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/edit/instant.d.elv (about)

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