Purge remnants of process expansion, document {fish,last}_pid

This commit is contained in:
Johannes Altmanninger
2020-05-16 11:20:18 +02:00
parent f9447dc72f
commit e03c375ee3
5 changed files with 6 additions and 10 deletions

View File

@@ -8,11 +8,11 @@ $fish -c 'begin; exit 5; true; end'
echo $status
#CHECK: 5
$fish -c 'kill -SIGHUP %self'
$fish -c 'kill -SIGHUP $fish_pid'
echo $status
#CHECK: 129
$fish -c 'function main; kill -SIGTERM %self; true; end; main'
$fish -c 'function main; kill -SIGTERM $fish_pid; true; end; main'
echo $status
#CHECK: 143