diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2009-07-01 20:00:45 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2009-07-01 20:00:45 +0300 |
commit | d2b9f309bb213db2ed64484c78a6627834bbcd5c (patch) | |
tree | bb7979c25f3dea5ca2b18803d95b79ad3e560a8f /git-prompt.conf | |
parent | -- cwd_truncate() -- no external cmd implementation (diff) | |
download | git-prompt-d2b9f309bb213db2ed64484c78a6627834bbcd5c.tar.gz git-prompt-d2b9f309bb213db2ed64484c78a6627834bbcd5c.tar.bz2 git-prompt-d2b9f309bb213db2ed64484c78a6627834bbcd5c.zip |
cwd_cmd selector
Diffstat (limited to 'git-prompt.conf')
-rw-r--r-- | git-prompt.conf | 13 |
1 files changed, 5 insertions, 8 deletions
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: |