"Fossies" - the Fresh Open Source Software Archive

Member "unicore-ucc-8.0.2/extras/bash-completion/README" (18 May 2020, 773 Bytes) of package /linux/misc/unicore-ucc-8.0.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ===================
    2 ucc bash completion
    3 ===================
    4 
    5 
    6 Prerequisites
    7 =============
    8 
    9 You need to have the package "bash-completion" installed.
   10 
   11 
   12 Installation
   13 ============
   14 
   15 
   16 If bash completion is not automatically loaded on your machine,
   17 or if you are unsure, add the following lines to your .bashrc:
   18 
   19   if [ -f /etc/bash_completion ]; then
   20       . /etc/bash_completion 
   21   fi
   22 
   23 
   24 Add the following lines to your .bashrc:
   25 
   26   if [ -f ~/unicore/ucc_bash_completion.sh ]; then
   27       . ~/unicore/ucc_bash_completion.sh
   28   fi
   29 
   30 Of course, change the lines so that they point to the correct location
   31 of your ucc.bash_completion.sh.
   32 
   33 If you now start a new shell, the completion for ucc options should
   34 work, e.g. typing
   35 
   36   ucc sy<TAB>
   37 
   38 should complete to
   39 
   40   ucc system-info
   41 
   42 etc.