- don't append spaces after directories when doing mount completion
- allow default completion if there are no matches during make completion
This commit is contained in:
parent
9b51bb2b7e
commit
b81d694e5c
@ -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.526 2003/02/06 19:08:16 ianmacd Exp $
|
# $Id: bash_completion,v 1.527 2003/02/07 18:04:35 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -480,7 +480,7 @@ _mount()
|
|||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
complete -F _mount $default mount
|
complete -F _mount $default $filenames mount
|
||||||
|
|
||||||
# Linux rmmod(8) completion. This completes on a list of all currently
|
# Linux rmmod(8) completion. This completes on a list of all currently
|
||||||
# installed kernel modules.
|
# installed kernel modules.
|
||||||
@ -2183,7 +2183,7 @@ _make()
|
|||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
[ -n "${have:-}" ] && complete -F _make -X '+($*|*.[ch])' $filenames make gmake pmake
|
[ -n "${have:-}" ] && complete -F _make -X '+($*|*.[ch])' $default $filenames make gmake pmake
|
||||||
|
|
||||||
#
|
#
|
||||||
# This completes on a list of all available service scripts for the
|
# This completes on a list of all available service scripts for the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user