fix: prevent following symlinks for cd (#2423)
* fix: prevent resolving symlinks for `cd` * Update `CHANGELOG.md`
This commit is contained in:
1 parent
7829dd0357
commit
ede1e7e7c3
4 files changed
+12
-21
No files matched your search
@@ -296,7 +296,6 @@ func (app *app) loop() {
|
||||
}
|
||||
}
|
||||
|
||||
app.nav.loadDirs()
|
||||
app.nav.addJumpList()
|
||||
|
||||
if gSelect != "" {
|
||||
@@ -473,12 +472,7 @@ func (app *app) loop() {
|
||||
}
|
||||
|
||||
deletePathRecursive(app.nav.regCache, path)
|
||||
|
||||
deletePathRecursive(app.nav.dirCache, path)
|
||||
currPath := app.nav.currDir().path
|
||||
if currPath == path || strings.HasPrefix(currPath, path+string(filepath.Separator)) {
|
||||
app.nav.loadDirs()
|
||||
}
|
||||
case ev := <-app.ui.evChan:
|
||||
e := app.ui.readEvent(ev, app.nav)
|
||||
if e == nil {
|
||||
|
||||
Reference in new issue
Block a user