check_installed_programs: updated run list
This commit is contained in:
@ -22,7 +22,7 @@ _winehelper_completions() {
|
||||
return 0
|
||||
;;
|
||||
run|installed)
|
||||
local installed=$(grep -h "Exec=env" ~/.local/share/winehelper/*.desktop 2>/dev/null | awk -F'/' '{print $NF}' | awk -F'"' '{print $1}')
|
||||
local installed=$(ls -1 ~/.local/share/winehelper/ | grep ".desktop" | sed 's/.desktop//')
|
||||
COMPREPLY=( $(compgen -W "${installed}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
|
Reference in New Issue
Block a user