expand '%w' in 'promptfmt' with a trailing slash

Related #421
This commit is contained in:
Gokcehan committed 2020-07-20 00:19:42 +03:00
1 parent 3b49e1a2b6
commit f8daa60b31
5 files changed
+18 -8

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ func init() {
gOpts.filesep = "\n"
gOpts.ifs = ""
gOpts.previewer = ""
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%w\033[0m\033[1m%f\033[0m"
gOpts.shell = gDefaultShell
gOpts.timefmt = time.ANSIC
gOpts.truncatechar = "~"