mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-17 09:20:28 +03:00
remove null-stream (#670)
It's a follow up to https://github.com/nushell/nushell/pull/11070
This commit is contained in:
parent
6a40ceb3db
commit
09d6c7e437
@ -1,10 +0,0 @@
|
||||
# Examples
|
||||
# redirect to the null stream
|
||||
# > echo foo out> (null-stream)
|
||||
def null-stream []: nothing -> string {
|
||||
if $nu.os-info.name == "windows" {
|
||||
"NUL:"
|
||||
} else {
|
||||
"/dev/null"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user