Tagged Questions
2
votes
2answers
212 views
Executing zsh rehash after build
I have a build script that can change what binaries are in my $PATH (it doesn't edit $PATH itself, but it adds/deletes files to folders that are already in $PATH). zsh's autocompletion doesn't update ...
1
vote
1answer
105 views
Files with no .sh extension not considered for autocompletion in zsh
I have noticed that unless I add an .sh extension to my shell scripts, Zsh does not suggest them for autocompletion for execution despite having them in my PATH. I have the same problem if I cd into ...
3
votes
1answer
517 views
How to change the target directory for tab completion?
I found a short script to enable note-taking on onethingwell, which includes this:
function n { nano ~/n/$1.txt }
I'd like to extend it to do tab completion, so that if I want to edit the ...