Skip to content

Commit

Permalink
Adding alias for "ll" and fixing DEFAULT_PS1 command prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
mdgreenfield committed Nov 19, 2013
1 parent c4d0b1c commit 0b793c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitconfig
Expand Up @@ -22,7 +22,7 @@
lol = log --oneline --graph --decorate
unstage = reset HEAD
co = checkout
st = status -st
st = status
sr = svn rebase

aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /'
Expand Down
5 changes: 5 additions & 0 deletions .profile
Expand Up @@ -9,6 +9,7 @@ alias g='git'
complete -o default -o nospace -F _git g

alias sp="source ~/.profile"
alias ll="ls -al"

# This stuff will give you a fancy-dancy prompt that includes the
# svn/git trunk/tags/branches part of the URL in it so you will always know
Expand Down Expand Up @@ -79,6 +80,10 @@ function spwd() {
fi
}

if [ -z "${DEFAULT_PS1}" ]; then
export DEFAULT_PS1="\u:\w $ "
fi

if [ -z $NO_SVN_PROMPT ]; then
export PROMPT_COMMAND=spwd
fi

0 comments on commit 0b793c2

Please sign in to comment.