When I type the set
command in my system I've got this extract out :
__colormgr_commandlist='
create-device
create-profile
delete-device
delete-profile
device-add-profile
device-get-default-profile
device-get-profile-for-qualifier
device-inhibit
device-make-profile-default
device-set-kind
device-set-model
device-set-serial
device-set-vendor
find-device
find-device-by-property
find-profile
find-profile-by-filename
get-devices
get-devices-by-kind
get-profiles
get-sensor-reading
get-sensors
get-standard-space
profile-set-filename
profile-set-qualifier
sensor-lock
sensor-set-options
'
__grub_script_check_program=grub-script-check
_backup_glob='@(#*#|*@(~|.@(bak|orig|rej|swp|dpkg*|rpm@(orig|new|save))))'
_xspecs=([freeamp]="!*.@(mp3|ogg|pls|m3u)" [cdiff]="!*.@(dif?(f)|?(d)patch)?(.@([gx]z|bz2|lzma))" [bibtex]="!*.aux" [rgview]="*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)" [oowriter]="!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|?(f)odt|ott|odm)" [chromium-browser]="!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))" [tex]="!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)" [netscape]="!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))"
.../..
_xinetd_services ()
{
local xinetddir=/etc/xinetd.d;
if [[ -d $xinetddir ]]; then
local restore_nullglob=$(shopt -p nullglob);
shopt -s nullglob;
local -a svcs=($( printf '%s\n' $xinetddir/!($_backup_glob) ));
$restore_nullglob;
COMPREPLY+=($( compgen -W '${svcs[@]#$xinetddir/}' -- "$cur" ));
fi
}
dequote ()
{
eval printf %s "$1" 2> /dev/null
}
quote ()
{
local quoted=${1//\'/\'\\\'\'};
printf "'%s'" "$quoted"
}
quote_readline ()
{
local quoted;
_quote_readline_by_ref "$1" ret;
printf %s "$ret"
}
I checked all files in my knowledge as /etc/profile
, /etc/environment
, and/or ~/.bashrc
. I didn't find any generation script or code calling.
Do you have any advice where is come from ?
/etc/profile.d
have been common for about a decade. You have to read the files and see which other files they may include. – Bananguin May 15 '17 at 08:24/etc/profile.d/
or/etc/bashrc
– Michael D. May 15 '17 at 08:25