alexandersep / notes

A simple note taking bash script. It converts markdown to LaTeX using pandoc
GNU General Public License v3.0
1 stars 0 forks source link

Autocompletion #7

Closed alexandersep closed 2 years ago

alexandersep commented 2 years ago

Add auto-completion when entering directories

alexandersep commented 2 years ago

Auto completion implemented using another script. It is not necessary for the scripts use but if one sets it up (making sure that if the bash_completion.d directory does not exist to just create it), then having that autocompletion feature is very useful. It works for pdf's as well, And makes sure to work as intuitively expected from the flags right now.

alexandersep commented 2 years ago

Autcompletion suffers with bugs, it relies on the user to press tab when fully written the flag option in order for it to work effectively. Needs to be fixed, but usable

alexandersep commented 2 years ago

There's a possibility of me making a mistake and having two files sourcing and causing conflict issues. However it is probably still buggy on autocompletion, Also the implementation could and should work on additional flags but only works on a select few.

alexandersep commented 2 years ago

Added additional functionality to autcomplete. The flags which expect some time of file parameter now autcomplete and make the experience easier. For the moment I will close this issue, if needs be will updated when I add additional flags. Also the problem with the autocomplete script was that I had two cases of it and simply putting it in the .bashrc and sourcing it, fixed the issue. All of this is also documented in the README.md

alexandersep commented 2 years ago

autocompletion will not be worked on probably. README explains the autocompletion shortcomings