From ed989ce48005e96e273904971507764779143a83 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Sat, 19 Aug 2017 18:38:30 +0200 Subject: prettyprompt: add accessibility check to cwd display --- pkg/prompt/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/prompt/main.go') 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) -- cgit v1.3.1