Add completion to please alias
This commit is contained in:
parent
ad005f402b
commit
1c448b04c4
|
@ -43,6 +43,16 @@ vifmmv() {
|
||||||
cd "$dst"
|
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 =========================================
|
# Keyboard layout switching =========================================
|
||||||
sww() {
|
sww() {
|
||||||
if ! [[ -x ~/.configs_pointer/bin/switch_keyboards.sh ]]; then
|
if ! [[ -x ~/.configs_pointer/bin/switch_keyboards.sh ]]; then
|
||||||
|
|
Loading…
Reference in a new issue