From 4853f0d91ab52940d8857a812fabda42915a738e Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sat, 27 Jan 2024 01:42:43 +0100 Subject: fish: add fish_pid var --- src/tools/fish.md | 3 +++ 1 file changed, 3 insertions(+) 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 [] $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 ``` -- cgit v1.2.3