From bd248ca71e8232466550ab6d3da7ea31a2804492 Mon Sep 17 00:00:00 2001 From: Mark Stosberg Date: Fri, 11 Oct 2019 09:54:40 -0400 Subject: [PATCH] Fish supports && and || since 3.0 Reference: https://github.com/fish-shell/fish-shell/issues/4620 --- markup/unix-shells | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markup/unix-shells b/markup/unix-shells index 596482d..1b1f45b 100644 --- a/markup/unix-shells +++ b/markup/unix-shells @@ -18,7 +18,7 @@ ||[[# simple-cmd-redirect]][#simple-cmd-redirect-note simple command with redirect]||ls > /tmp/ls.out||ls > /tmp/ls.out||ls > /tmp/ls.out||ls > /tmp/ls.out||ls > /tmp/ls.out|| ||[[# simple-cmd-env-var]][#simple-cmd-env-var-note simple command with environment variable]||EDITOR=vi git commit||env EDITOR=vi git commit||EDITOR=vi git commit||env EDITOR=vi git commit||EDITOR=vi git commit|| ||[[# pipeline]][#pipeline-note pipeline]||ls | wc||ls | wc||ls | wc||ls | wc||ls | wc|| -||[[# sublist-separators]][#sublist-separators-note sublist separators]||&& @@||@@||##gray|//none//##||&& @@||@@||&& @@||@@||&& @@||@@|| +||[[# sublist-separators]][#sublist-separators-note sublist separators]||&& @@||@@||&& @@||@@||&& @@||@@||&& @@||@@||&& @@||@@|| ||[[# list-terminators]][#list-terminators-note list terminators]||; &||; &||; &||; &||; & || ||[[# group-cmd]][#group-cmd-note group command]||{ ls; ls;} | wc||begin; ls; ls; end | wc||{ ls; ls;} | wc||##gray|//none//##||{ ls; ls;} | wc|| ||[[# subshell]][#subshell-note subshell]||(ls; ls) | wc||fish -c 'ls; ls' | wc||(ls; ls) | wc||(ls; ls) | wc||(ls; ls) | wc|| @@ -2307,4 +2307,4 @@ Special {{zsh}} builtins: * zformat * zmodload * zparseopts -* zstyle \ No newline at end of file +* zstyle