Skip to content

Instantly share code, notes, and snippets.

@bosky101
bosky101 / git-completion-addons.bash
Created May 5, 2012 06:00
Place this in your .bash_profile for git-completion
#
# Command line prompt addon, to autocomplete git commands & branches
# as well as show current branch. It is especially useful since it modifies
# the terminal prompt & uses colors to distinguish if master is dirty
# or the working directory is up to date
#
# Step 1
# get git-completion.bash from any git repo
# https://raw.github.com/git/git/master/contrib/completion/git-completion.bash
%%==============================================================================================
%% figuring out the best way to catch a gen_server call, when process group ceases to exist
%%
%% until i figure out why it disappears,i want to catch the current gen call arg's .so IMHO options are
%% ( i) recreate the group in the Else, and redo the call
%% OR
%% (ii) crash wih prev state and redo it somehow (not sure of how but i htink ive seen this being done)
%%
%% -b101
%%==============================================================================================