Closed ShrirajHegde closed 2 years ago
Please do the following:
~/.local/share/zsh/chpwd-recent-dirs
$COLUMNS
for which the problem occurs.functions -T .autocomplete.recent_paths.trim
and share the log contents generated after that.Share a copy of the file ~/.local/share/zsh/chpwd-recent-dirs
$'/home/srj/Desktop/misc/installers/distro-grub-themes/customize'
$'/home/srj/Desktop/misc/installers'
$'/media/srj/storage/Others/temp/test'
$'/home/srj
Post the value of $COLUMNS for which the problem occurs.
80 (80x24 default size)
Run functions -T .autocomplete.recent_paths.trim and share the log contents generated after that.
Empty with non-zero exit code.
Run functions -T .autocomplete.recent_paths.trim and share the log contents generated after that.
Empty with non-zero exit code.
Those are not the contents of the log. Again, run functions -T .autocomplete.recent_paths.trim
, then share what is printed in the log after doing so.
$'/home/srj/Desktop/misc/installers/distro-grub-themes/customize' $'/home/srj/Desktop/misc/installers' $'/media/srj/storage/Others/temp/test' $'/home/srj
Are you sure that's the entire contents of ~/.local/share/zsh/chpwd-recent-dirs
? It should end in a '
.
Are you sure that's the entire contents of ~/.local/share/zsh/chpwd-recent-dirs? It should end in a '.
It does, I missed it while copying.
Run functions -T .autocomplete.recent_paths.trim and share the log contents generated after that.
Empty with non-zero exit code.
Those are not the contents of the log. Again, run
functions -T .autocomplete.recent_paths.trim
, then share what is printed in the log after doing so.
@ShrirajHegde And what about this? ☝🏽
@ShrirajHegde And what about this?
Sorry, somehow missed that.
also, now I am getting zero exit code from the command.
here it is
# 15. .autocomplete.recent_paths.trim [20:30:08.046]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
# 15. .autocomplete.recent_paths.trim [20:30:08.547]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
# 15. .autocomplete.recent_paths.trim [20:30:08.572]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
# 15. .autocomplete.recent_paths.trim [20:30:08.586]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
# 15. .autocomplete.recent_paths.trim [20:30:08.619]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
# 15. .autocomplete.recent_paths.trim [20:30:08.649]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
# 15. .autocomplete.recent_paths.trim [20:30:08.676]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
# 15. .autocomplete.recent_paths.trim [20:30:08.706]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
# 15. .autocomplete.recent_paths.trim [20:30:08.953]
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
49 local -P total='/ '
50 while (( 3 > COLUMNS ))
@marlonrichert is there a way to disable logging for temporary resolution??
It is filling up my file system
Add this to your .zshrc
file, after sourcing Zsh Autcomplete:
.autocomplete.recent_paths.trim() {:}
Closing, as I'm unable to reproduce it.
Environment
OUTPUT:
.autocomplete.config
in ReadmeSteps to reproduce
It happens eventually over time. So I am not sure of reproducing.
Size increase just in 2-3 minutes.
Content inside large log file:
This on repeat.
zsh process writing the log file:
This process does not respond to SIGTERM and requires SIGKILL.
Is there any way to disable logging as a temporary fix?