1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-06 22:33:07 +02:00

Exclude "." from file path suggestions

It looks funny and doesn't have any value.
This commit is contained in:
Stefan Haller
2025-07-10 14:39:16 +02:00
parent fee5794c83
commit 4a6041f3ce

View File

@ -103,7 +103,9 @@ func (self *SuggestionsHelper) GetFilePathSuggestionsFunc() func(string) []*type
if err != nil {
return err
}
if path != "." {
trie.Insert(patricia.Prefix(path), path)
}
return nil
})