mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Add colon.fish for : compatibility with sh and bash
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.
This commit is contained in:
parent
06c8440d72
commit
007ae0b15e
1 changed files with 5 additions and 0 deletions
5
share/functions/colon.fish
Normal file
5
share/functions/colon.fish
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
function :
|
||||||
|
# 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.
|
||||||
|
end
|
Loading…
Reference in a new issue