diff options
author | Marc Cornellà <marc.cornella@live.com> | 2014-10-09 13:55:50 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2014-11-06 18:33:56 +0100 |
commit | 4310a15de5d0587ef135f9e12857620c4788dec2 (patch) | |
tree | 2b90a55294191a4c3f4d7b5c037476f6f2470796 /plugins/systemadmin/systemadmin.plugin.zsh | |
parent | 74177c5320b2a1b2f8c4c695c05984b57fd7c6ea (diff) | |
download | zsh-4310a15de5d0587ef135f9e12857620c4788dec2.tar.gz zsh-4310a15de5d0587ef135f9e12857620c4788dec2.tar.bz2 zsh-4310a15de5d0587ef135f9e12857620c4788dec2.zip |
Change all pwd calls for $PWD variable
This avoids spawning additional processes as $PWD **always** contains
the current working directory.
Diffstat (limited to 'plugins/systemadmin/systemadmin.plugin.zsh')
-rw-r--r-- | plugins/systemadmin/systemadmin.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/systemadmin/systemadmin.plugin.zsh b/plugins/systemadmin/systemadmin.plugin.zsh index e0b1773ad..4ae70dfa7 100644 --- a/plugins/systemadmin/systemadmin.plugin.zsh +++ b/plugins/systemadmin/systemadmin.plugin.zsh @@ -30,7 +30,7 @@ function retlog() { } alias ping='ping -c 5' -alias clr='clear;echo "Currently logged in on $(tty), as $USER in directory $(pwd)."' +alias clr='clear;echo "Currently logged in on $(tty), as $USER in directory $PWD."' alias path='echo -e ${PATH//:/\\n}' alias mkdir='mkdir -pv' # get top process eating memory |