From 007ae0b15eb0977c4c56792f4107f7191ebe2b22 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Wed, 14 Mar 2018 17:41:09 -0500 Subject: [PATCH] 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. --- share/functions/colon.fish | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 share/functions/colon.fish diff --git a/share/functions/colon.fish b/share/functions/colon.fish new file mode 100644 index 000000000..b41ad1e4e --- /dev/null +++ b/share/functions/colon.fish @@ -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