fix default promptfmt to use %d instead of %w

cc #545
This commit is contained in:
Gokcehan committed 2021-01-11 00:40:14 +03:00
1 parent 07d42c9a80
commit 2e4ed8f867
4 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ func init() {
gOpts.ifs = ""
gOpts.previewer = ""
gOpts.cleaner = ""
gOpts.promptfmt = "\033[32;1m%u@%h\033[0m:\033[34;1m%w\033[0m\033[1m%f\033[0m"
gOpts.promptfmt = "\033[32;1m%u@%h\033[0m:\033[34;1m%d\033[0m\033[1m%f\033[0m"
gOpts.shell = gDefaultShell
gOpts.timefmt = time.ANSIC
gOpts.truncatechar = "~"