aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjixiuf <jixiuf@qq.com>2019-08-06 01:16:46 +0800
committerjixiuf <jixiuf@qq.com>2019-08-06 01:16:46 +0800
commitd1c07b7408c204f84a28c0aca652172667a70210 (patch)
tree00c4e2f46edffc6dddc40c61a9c06b3f71381976
parentb77dba2441d9dc28181d1be195ef2095df303c44 (diff)
update doc of tracking directory for zsh ,use print instead of echo
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4f84f1f..64ea808 100644
--- a/README.md
+++ b/README.md
@@ -100,7 +100,7 @@ For `zsh` put this in your `.zshrc`:
```zsh
function chpwd() {
- echo -e "\e]51;$(pwd)\e\\"
+ print -Pn "\e]51;$(pwd)\e\\";
}
```