You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
are there any characters/symbols already reserved in nushell? I am disinclined to use $ because it might be misleading to newcomers from bash|zsh|csh|etc
I kind of like :true:false but am not set on it
What if we distinct a comparison with literals versus logical operation on values? i.e: ls | where type is File - literal ls | where size > 10kb - logical read something | where yanked != true - logical
Activity
wycats commentedon Aug 26, 2019
PowerShell makes this work by reserving
$trueand$false. Earlier on, I was thinking$yesand$no. I'm open to other options.rrichardson commentedon Sep 4, 2019
are there any characters/symbols already reserved in nushell? I am disinclined to use
$because it might be misleading to newcomers from bash|zsh|csh|etcI kind of like
:true:falsebut am not set on itCOLAMAroro commentedon Oct 3, 2019
Using
$trueand$falsedoesn't seems that bad, considering the use of$itwhen piping and the inspiration from PowerShellalexxbb commentedon Jan 13, 2020
What if we distinct a comparison with literals versus logical operation on values? i.e:
ls | where type is File- literalls | where size > 10kb- logicalread something | where yanked != true- logicalolamiko commentedon Apr 25, 2020
I will like to handle this but which mode should I work with? $true or :true?
rrichardson commentedon Apr 25, 2020
@olamiko - I think this feature was just released.
thegedge commentedon Apr 25, 2020
Yep, @jonathandturner added
$trueand$false:There's currently no shorthand for boolean negation, so this doesn't work:
Merge pull request nushell#98 from xiuxiu62/main
Merge pull request nushell#98 from jonathandturner/command_alias_update