Bash: remove second please completion

This commit is contained in:
Akemi Izuko 2024-09-15 11:31:28 -06:00
parent 92ebac366d
commit a89b864815
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC
2 changed files with 1 additions and 11 deletions

View file

@ -24,7 +24,7 @@ alias rsync='rsync -h --info=progress2'
# Other # Other
alias mem='top -l 1 -s 0 | grep PhysMem' alias mem='top -l 1 -s 0 | grep PhysMem'
alias please='sudo -E ' alias please='sudo -E '
alias cc="clang -Wall -Wextra -Werror -O2 -std=c99 -pedantic" alias cc="clang -Wall -Wextra -Werror -O2"
alias lsblkf="lsblk -o name,label,fstype,mountpoint,fsused,size,state" alias lsblkf="lsblk -o name,label,fstype,mountpoint,fsused,size,state"
alias lsblkfa="lsblk -o name,label,fstype,mountpoints,fsused,size,state" alias lsblkfa="lsblk -o name,label,fstype,mountpoints,fsused,size,state"
alias mr='make run' alias mr='make run'

View file

@ -43,16 +43,6 @@ 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