summaryrefslogtreecommitdiff
path: root/_posts/2008-06-26-git-branch-everywhere.md
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2013-12-09 22:08:44 -0800
committerFranck Cuny <franck.cuny@gmail.com>2013-12-09 22:08:44 -0800
commit7286cd50a139faef33da5eb50ad76b605e5886aa (patch)
treed8a0dbc50249fd17dc33c1e654e011ba576eccd2 /_posts/2008-06-26-git-branch-everywhere.md
parentRemove a bunch of unused files. (diff)
downloadlumberjaph-7286cd50a139faef33da5eb50ad76b605e5886aa.tar.gz
Mostly, fix broken links.
Diffstat (limited to '')
-rw-r--r--_posts/2008-06-26-git-branch-everywhere.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2008-06-26-git-branch-everywhere.md b/_posts/2008-06-26-git-branch-everywhere.md
index bde1ffa..ed93df2 100644
--- a/_posts/2008-06-26-git-branch-everywhere.md
+++ b/_posts/2008-06-26-git-branch-everywhere.md
@@ -9,7 +9,7 @@ The current trend is to have the name of the current git branch everywhere. Pers
Here is my vimrc configuration for this (I'm not the author of this function, and can't remember where I saw it first):
{% highlight vim %}
-set statusline=%&lt;[%n]%m%r%h%w%{'['.(&amp;fenc!=''?&amp;fenc:&amp;enc).':'.&amp;ff}%{g:gitCurrentBranch}%{']'}%y\ %F%=%l,%c%V%8P
+set statusline=%&lt;[%n]%m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).':'.&ff}%{g:gitCurrentBranch}%{']'}%y\ %F%=%l,%c%V%8P
autocmd BufEnter * :call CurrentGitBranch()
let g:gitCurrentBranch = ''
@@ -32,7 +32,7 @@ and my zshrc:
{% highlight vim %}
local git_b
git_b='$(get_git_prompt_info '%b')'
-PROMPT="%(?..%U%?%u:) $git_b %40&lt;...&lt;%/%(#.%U&gt;%u.%B&gt;%b) "
+PROMPT="%(?..%U%?%u:) $git_b %40>...<%/%(#.%U>%u.%B>%b) "
{% endhighlight %}
with the following script [S55_git](http://www.jukie.net/~bart/conf/zsh.d/S55_git).