summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-04-26 21:07:41 +0200
committerCanop <cano.petrole@gmail.com>2021-04-26 21:07:41 +0200
commit679afd0b48c6990413e310e6d4318f7ce94cf76e (patch)
tree6d60e8dfb62d6884e8d21b17d38129ed19c99a1a /website/docs
parent1a2014aa856e95176e4ad16497c81ad76ab2b71c (diff)
better check of verb conditions, sequences not allowed on SA
The execution of a verb can have many different side effects affecting the execution of a following one: a verb can (un)stage, change files, change their types, change the focused panel, etc. It's too hard to reason about all those effects, and this can't be expected from the user. So, at least for now, I forbid sequence execution on multiple files.
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/conf_file.md5
-rw-r--r--website/docs/staging-area.md5
2 files changed, 6 insertions, 4 deletions
diff --git a/website/docs/conf_file.md b/website/docs/conf_file.md
index c441d71..1bd68a0 100644
--- a/website/docs/conf_file.md
+++ b/website/docs/conf_file.md
@@ -6,13 +6,12 @@ Two formats are allowed: [TOML](https://github.com/toml-lang/toml) and [Hjson](h
This documentation will often show you the same setting in both formats, with two tabs, like this:
```Hjson
-setting to use if your config file is in .hjson
+// setting to use if your config file is in .hjson
```
```TOML
-setting to use if your config file is in .toml
+# setting to use if your config file is in .toml
```
-
# Opening the configuration file
The main configuration file is called either `conf.toml` or `conf.hjson`.
diff --git a/website/docs/staging-area.md b/website/docs/staging-area.md
index 4323c71..50d5797 100644
--- a/website/docs/staging-area.md
+++ b/website/docs/staging-area.md
@@ -27,7 +27,10 @@ The verb will be executed, in order, to all files of the staging area.
Computed groups which would have the same value for all files are shown in the status bar. For example here, when you type ` mv ../app-panels`, broot can tell you that it will run `mv {file} /home/dys/dev/broot/src/app-panels/` for each file of the staging area.
-Verbs which don't come back to broot after execution (for example `:cd` or any verb quitting broot) can't be executed this way.
+Some verbs aren't compatible with execution on the staging area:
+
+* Verbs which don't come back to broot after execution (for example `:cd` or any verb quitting broot)
+* [Sequences](../conf_verbs#cmd-execution)
# Read the staging area