Update %self references with $pid instead

This commit is contained in:
Mahmoud Al-Qudsi
2018-03-09 03:56:19 -06:00
parent 90d0f91bcd
commit b236ab6e5d
13 changed files with 19 additions and 20 deletions

View File

@@ -6,9 +6,9 @@ function edit_command_buffer --description 'Edit the command buffer in an extern
else
# We should never execute this block but better to be paranoid.
if set -q TMPDIR
set f $TMPDIR/fish.(echo %self).fish
set f $TMPDIR/fish.$pid.fish
else
set f /tmp/fish.(echo %self).fish
set f /tmp/fish.$pid.fish
end
touch $f
or return 1