From d2b9f309bb213db2ed64484c78a6627834bbcd5c Mon Sep 17 00:00:00 2001 From: Leonid Volnitsky Date: Wed, 1 Jul 2009 20:00:45 +0300 Subject: cwd_cmd selector --- git-prompt.conf | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'git-prompt.conf') diff --git a/git-prompt.conf b/git-prompt.conf index 783a5b3..a9061ab 100644 --- a/git-prompt.conf +++ b/git-prompt.conf @@ -27,13 +27,10 @@ ## default_host="ahp" # remote host is always shown ## default_domain="lvvnet" -########################################################### PWD -## the working path will be truncated by cutting of chars -## of the components - -# truncate_pwd=off # =on -# max_pwd_length=30 -# min_chars_per_pwd=1 +########################################################### CWD +## cwd_cmd='\w' # display full path +## cwd_cmd='\W' # display only last dir of path +cwd_cmd='cwd_truncate 40' # display last 30 chars of path ########################################################### ETC @@ -76,4 +73,4 @@ # detached_vcs_color=RED -: vim:ft=sh: +: vim:ft=sh ts=8: -- cgit v1.2.3