- exclude mysql init script from completion, as it clashes with completion
for stand-alone mysql
This commit is contained in:
parent
31abc9c89e
commit
8ba83235cf
@ -1,6 +1,6 @@
|
|||||||
# bash_completion - some programmable completion functions for bash 2.05b
|
# bash_completion - some programmable completion functions for bash 2.05b
|
||||||
#
|
#
|
||||||
# $Id: bash_completion,v 1.533 2003/02/26 01:17:54 ianmacd Exp $
|
# $Id: bash_completion,v 1.534 2003/02/27 09:30:07 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -2230,7 +2230,8 @@ _service()
|
|||||||
[ -n "${have:-}" ] && complete -F _service service
|
[ -n "${have:-}" ] && complete -F _service service
|
||||||
[ -d /etc/init.d/ ] && complete -F _service \
|
[ -d /etc/init.d/ ] && complete -F _service \
|
||||||
$(for i in /etc/init.d/*; do \
|
$(for i in /etc/init.d/*; do \
|
||||||
[[ ${i##*/} == @(postfix|killall|ssh) ]] || echo ${i##*/}; done)
|
[[ ${i##*/} == @(postfix|killall|ssh|mysql) ]] ||
|
||||||
|
echo ${i##*/}; done)
|
||||||
|
|
||||||
# GNU tar(1) completion
|
# GNU tar(1) completion
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user