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:
@ -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
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user