From 2ed0a4190a16072b3bf6035cc17b5e42de6ac82e Mon Sep 17 00:00:00 2001 From: nojhan Date: Wed, 25 Jul 2012 14:19:53 +0200 Subject: [PATCH] indent with spaces, add corresponding modeline --- liquidprompt.bash | 111 +++++++++++++++++++++++----------------------- 1 file changed, 56 insertions(+), 55 deletions(-) diff --git a/liquidprompt.bash b/liquidprompt.bash index 3670d59..f1bca82 100755 --- a/liquidprompt.bash +++ b/liquidprompt.bash @@ -381,65 +381,65 @@ __hg_branch_color() # __shorten_path() { - local p="$1" - local len="${#p}" - local max_len="$2" + local p="$1" + local len="${#p}" + local max_len="$2" - if [ "$len" -gt "$max_len" ] - then - # finds all the '/' in - # the path and stores their - # positions - # - local pos=() - for ((i=0;i