mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
23 lines
319 B
Markdown
23 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
|
|
```
|