mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
Add dotnet watch and dotnet watch run (#8612)
This commit is contained in:
parent
f362b69df6
commit
83aa984d1a
2 changed files with 13 additions and 9 deletions
|
@ -10,12 +10,14 @@ plugins=(... dotnet)
|
||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
|-------|--------------|-------------------------------------------------------------------|
|
|-------|------------------|-------------------------------------------------------------------|
|
||||||
| dn | dotnet new | Create a new .NET project or file. |
|
| dn | dotnet new | Create a new .NET project or file. |
|
||||||
| dr | dotnet run | Build and run a .NET project output. |
|
| dr | dotnet run | Build and run a .NET project output. |
|
||||||
| dt | dotnet test | Run unit tests using the test runner specified in a .NET project. |
|
| dt | dotnet test | Run unit tests using the test runner specified in a .NET project. |
|
||||||
| ds | dotnet sln | Modify Visual Studio solution files. |
|
| dw | dotnet watch | Watch for source file changes and restart the dotnet command. |
|
||||||
| da | dotnet add | Add a package or reference to a .NET project. |
|
| dwr | dotnet watch run | Watch for source file changes and restart the `run` command. |
|
||||||
| dp | dotnet pack | Create a NuGet package. |
|
| ds | dotnet sln | Modify Visual Studio solution files. |
|
||||||
| dng | dotnet nuget | Provides additional NuGet commands. |
|
| da | dotnet add | Add a package or reference to a .NET project. |
|
||||||
|
| dp | dotnet pack | Create a NuGet package. |
|
||||||
|
| dng | dotnet nuget | Provides additional NuGet commands. |
|
|
@ -111,6 +111,8 @@ compdef _dotnet dotnet
|
||||||
# --------------------------------------------------------------------- #
|
# --------------------------------------------------------------------- #
|
||||||
alias dr='dotnet run'
|
alias dr='dotnet run'
|
||||||
alias dt='dotnet test'
|
alias dt='dotnet test'
|
||||||
|
alias dw='dotnet watch'
|
||||||
|
alias dwr='dotnet watch run'
|
||||||
alias ds='dotnet sln'
|
alias ds='dotnet sln'
|
||||||
alias da='dotnet add'
|
alias da='dotnet add'
|
||||||
alias dp='dotnet pack'
|
alias dp='dotnet pack'
|
||||||
|
|
Loading…
Reference in a new issue