aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-01-27 01:42:43 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-01-27 01:44:28 +0100
commit4853f0d91ab52940d8857a812fabda42915a738e (patch)
tree423fde2c00e655d33a928084504f871b244339a3 /src
parentcca491388d969f0bd9f6602afd7d79c1315e9856 (diff)
downloadnotes-4853f0d91ab52940d8857a812fabda42915a738e.tar.gz
notes-4853f0d91ab52940d8857a812fabda42915a738e.zip
fish: add fish_pid var
Diffstat (limited to 'src')
-rw-r--r--src/tools/fish.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/fish.md b/src/tools/fish.md
index fd1b2f7..a499e10 100644
--- a/src/tools/fish.md
+++ b/src/tools/fish.md
@@ -31,6 +31,9 @@ set <name> [<values>]
$status # exit code of last command
$pipestatus # list of exit codes of pipe chain
+$fish_pid # pid of parent fish shell ($$ in bash)
+$last_pid # pid of last started process ($! in bash)
+
$CMD_DURATION # runtime of last command in ms
```