mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Exclude "." from file path suggestions
It looks funny and doesn't have any value.
This commit is contained in:
parent
fee5794c83
commit
4a6041f3ce
|
|
@ -103,7 +103,9 @@ func (self *SuggestionsHelper) GetFilePathSuggestionsFunc() func(string) []*type
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
trie.Insert(patricia.Prefix(path), path)
|
||||
if path != "." {
|
||||
trie.Insert(patricia.Prefix(path), path)
|
||||
}
|
||||
return nil
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue