Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 885 Bytes

alias.md

File metadata and controls

44 lines (31 loc) · 885 Bytes
title categories version core usage feature
alias
core
0.94.0
Alias a command (with optional flags) to a new name.
Alias a command (with optional flags) to a new name.
default

alias for core

Alias a command (with optional flags) to a new name.

Signature

> alias {flags} (name) (initial_value)

Parameters

  • name: Name of the alias.
  • initial_value: Equals sign followed by value.

Input/output types:

input output
nothing nothing

Examples

Alias ll to ls -l

> alias ll = ls -l

Notes

This command is a parser keyword. For details, check: https://www.nushell.sh/book/thinking_in_nu.html