mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
24 lines
319 B
Markdown
24 lines
319 B
Markdown
---
|
|
title: alias
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
Alias a command (with optional flags) to a new name
|
|
|
|
## Signature
|
|
|
|
```> alias (name) (initial_value)```
|
|
|
|
## Parameters
|
|
|
|
- `name`: name of the alias
|
|
- `initial_value`: equals sign followed by value
|
|
|
|
## Examples
|
|
|
|
Alias ll to ls -l
|
|
```shell
|
|
> alias ll = ls -l
|
|
```
|