Bash: remove second please completion
This commit is contained in:
parent
92ebac366d
commit
a89b864815
2 changed files with 1 additions and 11 deletions
|
@ -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'
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue