Skip to content

Instantly share code, notes, and snippets.

@enthal
Last active February 17, 2017 23:44
Show Gist options
  • Select an option

  • Save enthal/c45c32f00188e3885d18 to your computer and use it in GitHub Desktop.

Select an option

Save enthal/c45c32f00188e3885d18 to your computer and use it in GitHub Desktop.

Revisions

  1. enthal revised this gist Feb 17, 2017. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions .profile
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,10 @@ if [ -f ~/.git-completion.bash ]; then
    . ~/.git-completion.bash
    fi

    if [ -f `brew --prefix`/etc/bash_completion ]; then
    . `brew --prefix`/etc/bash_completion
    fi

    export EDITOR="subl -w"
    # export EDITOR="atom -w"

  2. enthal revised this gist Aug 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .profile
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,4 @@ ll() { ls -al $*; }
    ep() { subl ~/.profile; }
    .p() { . ~/.profile; }

    gs() { git status -bs; }
    gs() { git status -bs; }
  3. enthal revised this gist Aug 27, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion .profile
    Original file line number Diff line number Diff line change
    @@ -8,10 +8,11 @@ if [ -f ~/.git-completion.bash ]; then
    fi

    export EDITOR="subl -w"
    # export EDITOR="atom -w"

    ll() { ls -al $*; }

    ep() { subl ~/.profile; }
    .p() { . ~/.profile; }

    gs() { git status -bs; }
    gs() { git status -bs; }
  4. enthal created this gist Jul 11, 2014.
    17 changes: 17 additions & 0 deletions .profile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    echo bash

    parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'; }
    PS1="________________________________________________________\n\u@\h \w\[\e[0;33;49m\]\$(parse_git_branch)\[\e[0;0m\]\n\$ "

    if [ -f ~/.git-completion.bash ]; then
    . ~/.git-completion.bash
    fi

    export EDITOR="subl -w"

    ll() { ls -al $*; }

    ep() { subl ~/.profile; }
    .p() { . ~/.profile; }

    gs() { git status -bs; }