Skip to content
profile for mac
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

.profile of MAC OS Lion

bash completion

$ sudo port install bash-completion

git completion

$ curl > git-completion.bash
  1. place it in a bash-completion.d fold.

    $ mv git-completion.bash


  2. place it in User's $HOME fold.

    $ mv git-completion.bash ~/.git-completion.bash

  3. edit .profile file.

    $ source ~/.git-completion.bash

    PS1='[\u:\w[\033[0;32m]$(__git_ps1 "(%s)")\033[0m]\$ '

git flow completion

$ curl > git-flow_completion.bash

(the same)


  1. edit .profile file.

    $ export WORKON_HOME=$HOME/.virtualenvs
    $ source /usr/local/bin/

Something went wrong with that request. Please try again.