set additional variables needed by some completions (man and gcc, notably)
This commit is contained in:
parent
f871fe4101
commit
174023db92
@ -40,9 +40,18 @@ if [ ! -d $installation_dir ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# many scripts requires this
|
||||
# many scripts require this
|
||||
shopt -s extglob
|
||||
|
||||
# and some require this also
|
||||
UNAME=$(uname -s)
|
||||
UNAME=${UNAME/CYGWIN_*/Cygwin}
|
||||
|
||||
case $UNAME in
|
||||
Linux|GNU|GNU/*) USERLAND=GNU ;;
|
||||
*) USERLAND=$UNAME ;;
|
||||
esac
|
||||
|
||||
for script in $completion_dir/*; do
|
||||
# reset completion
|
||||
complete -r
|
||||
|
Loading…
x
Reference in New Issue
Block a user