mirror of
https://github.com/TheM1Stery/dotfiles.git
synced 2025-04-19 16:51:10 +00:00
reenable dotnet completions
This commit is contained in:
parent
4ec20d6b6a
commit
4b344dfd99
@ -158,7 +158,7 @@ dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
special_scale_factor = 0.89
|
||||
special_scale_factor = 0.89,
|
||||
}
|
||||
|
||||
master {
|
||||
|
32
zsh/.zshrc
32
zsh/.zshrc
@ -22,22 +22,22 @@ source <(copilot completion 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
|
||||
_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
|
||||
|
||||
# useful plugins
|
||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
Loading…
Reference in New Issue
Block a user