Skip to content

Commit df36170

Browse files
committed
theme base shfmt
1 parent c40b466 commit df36170

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

themes/base.theme.bash

+2-4
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,8 @@ function svn_prompt_vars {
354354
function get_hg_root {
355355
local CURRENT_DIR="${PWD}"
356356

357-
while [ "${CURRENT_DIR:-/}" != "/" ]
358-
do
359-
if [ -d "$CURRENT_DIR/.hg" ]
360-
then
357+
while [ "${CURRENT_DIR:-/}" != "/" ]; do
358+
if [ -d "$CURRENT_DIR/.hg" ]; then
361359
echo "$CURRENT_DIR/.hg"
362360
return
363361
fi

0 commit comments

Comments
 (0)