Use --command-color when printing shebang recipe commands (#1911)

This commit is contained in:
N
2024-05-14 20:53:59 -04:00
committed by GitHub
parent ea141a6891
commit d18bdef799
3 changed files with 44 additions and 1 deletions

View File

@@ -216,6 +216,11 @@ _sh:
hello='Yo'
echo "$hello from a shell script!"
_nu:
#!/usr/bin/env nu
let hellos = ["Greetings", "Yo", "Howdy"]
$hellos | each {|el| print $"($el) from a nushell script!" }
_ruby:
#!/usr/bin/env ruby
puts "Hello from ruby!"