diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-07-06 18:09:04 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-07-06 18:09:04 +0800 |
| commit | 18666e3475d3a4180d9becc03cb105fcaa6c6801 (patch) | |
| tree | e80c0968dc91258afdbe5337c1478efd2f43a006 /dot-oh-my-zsh/plugins/dotnet/dotnet.plugin.zsh | |
| parent | bb533a817ed9449942905e0c5c8164f4474fbf0c (diff) | |
added submodule
Diffstat (limited to 'dot-oh-my-zsh/plugins/dotnet/dotnet.plugin.zsh')
| m--------- | dot-oh-my-zsh | 0 | ||||
| -rw-r--r-- | dot-oh-my-zsh/plugins/dotnet/dotnet.plugin.zsh | 33 |
2 files changed, 0 insertions, 33 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh new file mode 160000 +Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce diff --git a/dot-oh-my-zsh/plugins/dotnet/dotnet.plugin.zsh b/dot-oh-my-zsh/plugins/dotnet/dotnet.plugin.zsh deleted file mode 100644 index 8ea31cdb..00000000 --- a/dot-oh-my-zsh/plugins/dotnet/dotnet.plugin.zsh +++ /dev/null @@ -1,33 +0,0 @@ -# This scripts is copied from (MIT License): -# https://github.com/dotnet/toolset/blob/master/scripts/register-completions.zsh - -_dotnet_zsh_complete() -{ - local completions=("$(dotnet complete "$words")") - - # If the completion list is empty, just continue with filename selection - if [ -z "$completions" ] - then - _arguments '*::arguments: _normal' - return - fi - - # This is not a variable assignment, don't remove spaces! - _values = "${(ps:\n:)completions}" -} - -compdef _dotnet_zsh_complete dotnet - -# Aliases bellow are here for backwards compatibility -# added by Shaun Tabone (https://github.com/xontab) - -alias dn='dotnet new' -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' -alias dng='dotnet nuget' -alias db='dotnet build' |
