Bash-completion version 1.1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    bash-completion  most recent diff


    version 1.1

      View the most recent changes for the bash-completion port at: bash-completion.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for bash-completion.
      The raw portfile for bash-completion 1.1 is located here:
      http://bash-completion.darwinports.com/dports/sysutils/bash-completion/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/bash-completion


      The bash-completion Portfile 59184 2009-10-11 08:55:35Z raimue macports.org $

      PortSystem 1.0

      Name: bash-completion
      Version: 1.1
      Revision: 2
      epoch 1
      Category: sysutils
      Platform: darwin
      Maintainers: raimue
      Description: Programmable bash completions
      Long Description: Programmable completion library for bash.

      Homepage: http://bash-completion.alioth.debian.org/
      Master Sites: http://bash-completion.alioth.debian.org/files/
      Checksums: md5 593d3edcf287b9e9d735049bd4d3f229 sha1 0e666ebda3d577571ab62bcecc16e1024922cd18 rmd160 4f3c29479225b44bb3fb682a7ea925bef2e923b6

      Patch Files: patch-avahi.diff

      post-patch {
      reinplace "s:/etc/bash_completion:${prefix}/etc/bash_completion:g" ${worksrcpath}/bash_completion
      }

      destroot {
      xinstall -d ${destroot}${prefix}/etc/bash_completion.d
      xinstall -m 755 ${worksrcpath}/bash_completion ${destroot}${prefix}/etc/
      eval xinstall -m 644 [glob ${worksrcpath}/contrib/*] ${destroot}${prefix}/etc/bash_completion.d/
      xinstall -m 644 -W ${filespath} port launchctl ${destroot}${prefix}/etc/bash_completion.d/
      }

      post-install {
      ui_msg "To use bash_completion, add the following lines at the end of your .bash_profile:"
      ui_msg ""
      ui_msg " if \[ -f ${prefix}/etc/bash_completion ]; then"
      ui_msg " . ${prefix}/etc/bash_completion"
      ui_msg " fi"
      ui_msg ""
      }

      livecheck.type regex
      livecheck.url ${master_sites}
      livecheck.regex {bash-completion-(\d+(?:\.\d+)*)}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/bash-completion
      % sudo port install bash-completion
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching bash-completion
      ---> Verifying checksum for bash-completion
      ---> Extracting bash-completion
      ---> Configuring bash-completion
      ---> Building bash-completion with target all
      ---> Staging bash-completion into destroot
      ---> Installing bash-completion
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using bash-completion with these commands:
      %  man bash-completion
      % apropos bash-completion
      % which bash-completion
      % locate bash-completion

     Where to find more information:

    Darwin Ports



    Lightbox this page.