mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +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"
|
function : -d "no-op function"
|
||||||
# for compatibility with sh, bash, and others.
|
# for compatibility with sh, bash, and others.
|
||||||
# Often used to insert a comment into a chain of commands without having
|
# 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
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue