diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-01-27 01:42:43 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-01-27 01:44:28 +0100 |
commit | 4853f0d91ab52940d8857a812fabda42915a738e (patch) | |
tree | 423fde2c00e655d33a928084504f871b244339a3 /src | |
parent | cca491388d969f0bd9f6602afd7d79c1315e9856 (diff) | |
download | notes-4853f0d91ab52940d8857a812fabda42915a738e.tar.gz notes-4853f0d91ab52940d8857a812fabda42915a738e.zip |
fish: add fish_pid var
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/fish.md | 3 |
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 ``` |