summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorHenry Darnell <hjdarnel@users.noreply.github.com>2020-02-10 18:39:20 -0600
committerGitHub <noreply@github.com>2020-02-11 01:39:20 +0100
commit83aa984d1a11199d5bb23fb1e462f48e9b4edc88 (patch)
tree682ba7e35229bf4edba075c6de303fac52f1b3a5 /plugins
parentf362b69df696866704fc1b0b1bcb9a7d2a780b2a (diff)
downloadzsh-83aa984d1a11199d5bb23fb1e462f48e9b4edc88.tar.gz
zsh-83aa984d1a11199d5bb23fb1e462f48e9b4edc88.tar.bz2
zsh-83aa984d1a11199d5bb23fb1e462f48e9b4edc88.zip
Add dotnet watch and dotnet watch run (#8612)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dotnet/README.md20
-rw-r--r--plugins/dotnet/dotnet.plugin.zsh2
2 files changed, 13 insertions, 9 deletions
diff --git a/plugins/dotnet/README.md b/plugins/dotnet/README.md
index 7a6d6a995..a663fc88d 100644
--- a/plugins/dotnet/README.md
+++ b/plugins/dotnet/README.md
@@ -10,12 +10,14 @@ plugins=(... dotnet)
## Aliases
-| Alias | Command | Description |
-|-------|--------------|-------------------------------------------------------------------|
-| dn | dotnet new | Create a new .NET project or file. |
-| 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. |
-| ds | dotnet sln | Modify Visual Studio solution files. |
-| 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. | \ No newline at end of file
+| Alias | Command | Description |
+|-------|------------------|-------------------------------------------------------------------|
+| dn | dotnet new | Create a new .NET project or file. |
+| 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. |
+| dw | dotnet watch | Watch for source file changes and restart the dotnet command. |
+| dwr | dotnet watch run | Watch for source file changes and restart the `run` command. |
+| ds | dotnet sln | Modify Visual Studio solution files. |
+| 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. | \ No newline at end of file
diff --git a/plugins/dotnet/dotnet.plugin.zsh b/plugins/dotnet/dotnet.plugin.zsh
index 8b9a45a97..ed6c68e5d 100644
--- a/plugins/dotnet/dotnet.plugin.zsh
+++ b/plugins/dotnet/dotnet.plugin.zsh
@@ -111,6 +111,8 @@ compdef _dotnet dotnet
# --------------------------------------------------------------------- #
alias dr='dotnet run'
alias dt='dotnet test'
+alias dw='dotnet watch'
+alias dwr='dotnet watch run'
alias ds='dotnet sln'
alias da='dotnet add'
alias dp='dotnet pack'