1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 20:41:44 +00:00

Cleaned up lib/ and removed trailing white space everywhere.

Conflicts:

	oh-my-zsh.sh
This commit is contained in:
Sorin Ionescu
2011-06-01 02:48:26 -04:00
parent 3436a9247c
commit 94ab5e0ec8
46 changed files with 319 additions and 284 deletions

View File

@ -15,7 +15,7 @@ function in_svn() {
function svn_get_repo_name {
if [ in_svn ]; then
svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT
svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p" | sed "s/\/.*$//"
fi
}
@ -29,9 +29,9 @@ function svn_get_rev_nr {
function svn_dirty_choose {
if [ in_svn ]; then
s=$(svn status 2>/dev/null)
if [ $s ]; then
if [ $s ]; then
echo $1
else
else
echo $2
fi
fi