Skip to content

Commit

Permalink
Merge pull request #132 from WhitewaterFoundry/development
Browse files Browse the repository at this point in the history
Update winget completion
  • Loading branch information
crramirez committed Oct 16, 2022
2 parents be6176a + 5b89a1e commit bfc5e14
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion completions/winget
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#! /bin/bash

#######################################
#
# Globals:
# COMPREPLY
# COMP_CWORD
# COMP_WORDS
# Arguments:
# None
#######################################
function _winget() {

local cur=${COMP_WORDS[COMP_CWORD]}
Expand All @@ -15,7 +24,7 @@ function _winget() {
mapfile -t COMPREPLY < <(compgen -f -X '!*.yml' "${cur}")
;;
*)
mapfile -t COMPREPLY < <(compgen -W "install show source search hash validate -v --version --info \
mapfile -t COMPREPLY < <(compgen -W "install show source search list ls upgrade uninstall hash validate settings features export import -v --version --info \
--help -? -m --manifest" "${cur}")
;;
# Generate the completion matches and load them into $COMPREPLY array.
Expand Down
2 changes: 1 addition & 1 deletion profile.d/00-pengwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ setup_display() {
# check if we have wsl.exe in path
sudo /usr/local/bin/wsl_change_checker 0

# Export an enviroment variable for helping other processes
# Export an environment variable for helping other processes
unset WSL2

fi
Expand Down

0 comments on commit bfc5e14

Please sign in to comment.