aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuto, Masanori <suto@geek-masa.com>2022-10-17 15:00:06 +0900
committerjixiuf <jixiuf@qq.com>2022-10-19 14:41:26 +0800
commitc1c1071582adb28f875500670b8a63c2662dcff7 (patch)
treeaa76d2e84844d995fb8f2010a5fe65fabfabd784
parente9bfe56ca264e1b692a9c33fa8edb369e728a0c9 (diff)
Use `prompt_pwd` to format `/home/myuser/mydir` as `~/mydir`
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c90980c..8f8326a 100644
--- a/README.md
+++ b/README.md
@@ -434,7 +434,7 @@ For `fish`,
function fish_title
hostname
echo ":"
- pwd
+ prompt_pwd
end
```
See [zsh and bash](http://tldp.org/HOWTO/Xterm-Title-4.html) and [fish