- eliminate errors when setting read-only variables
This commit is contained in:
parent
83cc9441ba
commit
f04a05c7b4
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05a
|
||||
#
|
||||
# $Id: bash_completion,v 1.356 2002/06/12 21:43:00 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.357 2002/06/16 18:35:28 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -24,8 +24,8 @@
|
||||
|
||||
# Alter the following to reflect the location of this file
|
||||
#
|
||||
declare -r BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion}
|
||||
declare -r BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/etc/bash_completion.d}
|
||||
declare -r BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion} 2>/dev/null
|
||||
declare -r BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/etc/bash_completion.d} 2>/dev/null
|
||||
|
||||
# Set a couple of useful vars
|
||||
#
|
||||
@ -76,7 +76,7 @@ complete -f -X '!*.@(mid?(i))' timidity playmidi
|
||||
complete -f -X '*.@(o|so|so.*|a|tar|?(t)gz|?(t)bz2|rpm|zip|ZIP|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mpg|MPG|avi|AVI|asf|ASF' vi vim emacs
|
||||
complete -f -X '!*.@(exe|EXE|com|COM)' wine
|
||||
complete -f -X '!*.@(zip|ZIP|z|Z|gz|GZ|tgz|TGZ)' bzme
|
||||
complete -f -X '!*.@(htm?(l))' netscape mozilla lynx wget opera w3m galeon links curl
|
||||
complete -f -X '!*.@(htm?(l))' netscape mozilla lynx wget opera w3m galeon links curl dillo
|
||||
# FINISH exclude -- do not remove this line
|
||||
|
||||
# start of section containing compspecs that can be handled within bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user