mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 22:21:15 -03:00
Update %self references with $pid instead
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user