dotly
dotly copied to clipboard
The autocompletion of the dot command does not work in Ubuntu 18.04+
Dot command autocompletion does not work in Ubuntu. It has been tested on Ubuntu 18.04 and Ubuntu 20.04.
In Ubuntu it is necessary to deactivate the compinit at a global level, since it delays the startup time of the shell.
Possible solutions:
- My own .dotfiles for Ubuntu systems: https://github.com/borjapazr/dotfiles/blob/master/shell/zsh/.zshenv
- The same solution on a Gist: https://gist.github.com/ctechols/ca1035271ad134841284#gistcomment-3401477
One question. Currently the autocompletions of the dot command are loaded by launching the zsh reload_completions
command. It is a one time configuration, right? You could implement a mechanism by which this is done every X time, as the following snnipet shows: https://gist.github.com/ctechols/ca1035271ad134841284
PD: If you need to test in Ubuntu, I can do it without any problem, since I work daily in this OS.
i have the same problem with ubuntu 20
Which shell?
Any output?
On ubuntu 20.04 default terminal. Under zsh: Dot command autocompletion does not work
Under bash is diferent: Dot command autocompletion does not work i see this output when i press tab:
{â—‚} dot ^[[0
^[[01;34mdotfiles^[[0m ^[[01;34mmac^[[0m ^[[01;34mself^[[0m ^[[01;34msymlinks^[[0m
^[[01;34mgit^[[0m ^[[01;34mpackage^[[0m ^[[01;34mshell^[[0m ^[[0m^[[01;34msurprise^[[0m