diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2014-10-21 12:44:25 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2014-10-21 13:05:22 +0200 |
commit | c69c8310a4b8285738449cc9245d0116b20bbe89 (patch) | |
tree | 438230d3c75bb5e9194be6214a518bd900fde6d1 | |
parent | 665882465577f6fa638de057890c94e7d36ba58d (diff) |
[Prompts] no need to set CURDIR more than once
-rw-r--r-- | 12_Prompts.zsh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index d49b947..758bc3d 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -83,11 +83,10 @@ __update_prompt_elements() __term_title __set_prompt_date __hbar - - CURDIR=$C_$_prompt_colors[path]$_C"%(!.%d.%~)"$C_$color[none]$_C - } +CURDIR=$C_$_prompt_colors[path]$_C"%(!.%d.%~)"$C_$color[none]$_C + __error_code () { # Error |