aboutsummaryrefslogtreecommitdiff
path: root/pkg/prompt/main.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2017-08-19 18:38:30 +0200
committerStefan Majewsky <majewsky@gmx.net>2017-08-19 18:38:30 +0200
commited989ce48005e96e273904971507764779143a83 (patch)
treed3d0b65888506be6a2f7d4e01936e973c90552cc /pkg/prompt/main.go
parent5c3787bd979611712f7dc7ce534355c64bdab430 (diff)
downloadgofu-ed989ce48005e96e273904971507764779143a83.tar.gz
prettyprompt: add accessibility check to cwd display
Diffstat (limited to 'pkg/prompt/main.go')
-rw-r--r--pkg/prompt/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/prompt/main.go b/pkg/prompt/main.go
index dac8495..4146b73 100644
--- a/pkg/prompt/main.go
+++ b/pkg/prompt/main.go
@@ -36,6 +36,7 @@ func Exec() int {
}
cwd := CurrentDirectory()
fields = appendUnlessEmpty(fields, getDirectoryField(cwd))
+ fields = appendUnlessEmpty(fields, getDeletedMessageField(cwd))
line := strings.Join(fields, " ")
lineWidth := getPrintableLength(line)