Add completion to please alias

This commit is contained in:
Akemi Izuko 2023-11-08 20:20:02 -07:00
parent 784f90729b
commit caac27a59c
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC

View file

@ -43,6 +43,16 @@ vifmmv() {
cd "$dst"
}
# Fancy sudo
_please()
{
local cur prev opts
local cur="${COMP_WORDS[COMP_CWORD]}"
COMPREPLY=( $(compgen -c "${cur}") )
return 0
}
complete -F _please please
# Keyboard layout switching =========================================
sww() {
if ! [[ -x ~/.configs_pointer/bin/switch_keyboards.sh ]]; then