diff options
author | Robby Russell <robby@planetargon.com> | 2014-11-06 10:42:38 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2014-11-06 10:42:38 -0800 |
commit | 7f75bb90e326fdb39de37c14a0813e52801b1bba (patch) | |
tree | 14bc3e5448b5d2afc822bbe890a12864026dc6d4 /plugins/svn | |
parent | 7034b01cd10cebb2658f54aa07ac0ce5ee64e0e0 (diff) | |
parent | 95d795e8cad7d1a754dfad520309d7a41b69275f (diff) | |
download | zsh-7f75bb90e326fdb39de37c14a0813e52801b1bba.tar.gz zsh-7f75bb90e326fdb39de37c14a0813e52801b1bba.tar.bz2 zsh-7f75bb90e326fdb39de37c14a0813e52801b1bba.zip |
Merge pull request #3223 from mcornella/use-special-vars
Use special variables where we can
Diffstat (limited to 'plugins/svn')
-rw-r--r-- | plugins/svn/svn.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/svn/svn.plugin.zsh b/plugins/svn/svn.plugin.zsh index ef6da5bd3..ba281d790 100644 --- a/plugins/svn/svn.plugin.zsh +++ b/plugins/svn/svn.plugin.zsh @@ -77,7 +77,7 @@ function svn_dirty() { function svn_dirty_choose_pwd () { if in_svn; then - root=`pwd` + root=$PWD if $(svn status $root 2> /dev/null | grep -Eq '^\s*[ACDIM!?L]'); then # Grep exits with 0 when "One or more lines were selected", return "dirty". echo $1 |