mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Make sure nop command always suceeds
This commit is contained in:
parent
95c97619c6
commit
7046d251d9
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@ end
|
|||
function : -d "no-op function"
|
||||
# for compatibility with sh, bash, and others.
|
||||
# Often used to insert a comment into a chain of commands without having
|
||||
# it eat up the remainder of the line, handy in Makefiles.
|
||||
# it eat up the remainder of the line, handy in Makefiles.
|
||||
# This command always succeeds
|
||||
true
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue