X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fdotnet%2Fdotnet.plugin.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fdotnet%2Fdotnet.plugin.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=8ea31cdbd913bad4f1ad02793756aa2136c1a74a;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/dotnet/dotnet.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/dotnet/dotnet.plugin.zsh deleted file mode 100644 index 8ea31cd..0000000 --- a/stow/oh-my-zsh/.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'