summaryrefslogtreecommitdiff
path: root/.bashprompt
diff options
context:
space:
mode:
Diffstat (limited to '.bashprompt')
-rw-r--r--.bashprompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashprompt b/.bashprompt
index 0ce903f..873746c 100644
--- a/.bashprompt
+++ b/.bashprompt
@@ -3,7 +3,7 @@ __set-title ()
local title
local path=$(git root 2> /dev/null)
- if [ -n "${path}" ]
+ if [ ${path} ]
then
title=$(basename ${path})
else