fix(cd): harden zoxide directory suggestions
This commit is contained in:
@@ -79,17 +79,7 @@ type KeybindingsConfig struct {
|
||||
}
|
||||
|
||||
type ZoxideConfig struct {
|
||||
// ExtendCd adds zoxide's frecency database to `cd` completions.
|
||||
//
|
||||
// Without it `cd` only offers direct children of the current directory,
|
||||
// because that is all the file generator walks -- so `cd proj` finds
|
||||
// nothing unless you are already standing in the parent. With it, any
|
||||
// directory zoxide has seen is reachable by name from anywhere, which is
|
||||
// what `cd` is usually wanted for.
|
||||
//
|
||||
// Off by default: it shells out to zoxide, and the suggestions are absolute
|
||||
// paths from outside the current directory, which is a real change in what
|
||||
// `cd` offers.
|
||||
// ExtendCd adds zoxide's frecency database to cd completions.
|
||||
ExtendCd bool `toml:"extend-cd"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user