书栈网 · BookStack 本次搜索耗时 0.015 秒,为您找到 75 个相关结果.
  • Externs

    Externs Types and custom completions Limitations Externs Calling external commands is a fundamental part of using Nushell as a shell (and often using Nushell as a language). T...
  • 标准输入、输出和退出码

    标准输入、输出和退出码 标准输出流 标准错误流 退出码 使用 complete 命令 原始流 标准输入、输出和退出码 Nushell 和外部命令之间互操作的一个重要部分是与来自外部的标准数据流一起工作。 这些重要数据流中的第一个是标准输出流(stdout)。 标准输出流 标准输出流(stdout)是大多数外部应用程序将数据发送到管...
  • 外部命令

    外部命令 类型和自定义补全 局限性 外部命令 调用外部命令是将 Nushell 作为一个 Shell 使用的基本部分(通常也将 Nushell 作为一种语言使用)。但是有一个问题,对于 Nushell 之外的命令而言,Nushell 不能帮助寻找调用中的错误,或者自动补全,或者语法高亮。 这就是 extern 的作用。extern 关键字允许你...
  • Environment

    Environment Setting environment variables let-env load-env One-shot environment variables Calling a command defined with def-env Using module’s exports Scoping Changing di...
  • Cookbook

    Cookbook Cookbook In this section we have put together a bunch of useful tips to get you started with Nushell. These are simple commands that will help you ease your way into th...
  • How to configure 3rd party prompts

    How to configure 3rd party prompts nerdfonts oh-my-posh Starship Purs How to configure 3rd party prompts nerdfonts nerdfonts are not required but they make the presentation...
  • Setup

    Setup Configure your path and other environment variables How to list your environment variables How to get a single environment variable’s value Setup To get the most out of...
  • Setup

    Setup Configure your path and other environment variables How to list your environment variables How to get a single environment variable’s value Setup To get the most out of...
  • 配置第三方提示

    配置第三方提示 Nerdfonts oh-my-posh Starship Purs 配置第三方提示 Nerdfonts Nerdfonts 并不是必需的,但它们能使呈现效果更好。 网站 (opens new window) 仓库 (opens new window) oh-my-posh 网站 (opens new window...
  • 脚本

    脚本 脚本是如何被处理的 脚本行 参数化脚本 Shebangs (!# ) 脚本 在 Nushell 中,你可以用 Nushell 语言编写和运行脚本。要运行一个脚本,你可以把它作为一个参数传递给nu 命令行程序: > nu myscript . nu 这将在一个新的 Nu 实例中运行脚本直至完成。你也可以使用source 在 Nu ...