Alias
Specify the same alias cross shell.
Syntaxโ
alias:
- name: a
value: aliae
- name: hello-world
value: echo "hello world"
type: function
- name: sync
value: "!git fetch origin; git rebase origin/main"
type: git
Aliasโ
Name | Type | Description |
---|---|---|
name | string | the alias name |
value | string | the command(s) you want to execute, supports templating |
type | string |
|
if | string | golang template conditional statement, see if |
Shell specific configurationโ
- powershell
Name | Type | Description |
---|---|---|
description | string | specifies a description of the alias |
force | boolean | use the force parameter to change or delete an alias that has the Option parameter set to ReadOnly. The Force parameter cannot change or delete an alias with the option parameter set to Constant |
option | string | see the PowerShell documentation |
scope | string | see the PowerShell documentation |