4 ms·
autocompletion in fish takes into account the directory where you are at, so it will autocomplete commands ran in the same directory before other commands.
by jackbravo 7y ago
autocompletion in fish takes into account the directory where you are at, so it will autocomplete commands ran in the same directory before other commands.
- dllthomas 7y agoIf that's what's being referred to, it sounds like dual_base meant to reply to aaronharnly? As mentioned, my setup isn't based on working directory.
- dual_basis 7y agoOh, I see. I interpreted "context" as current working directory. I took a look at your .bashrc but I couldn't detemine any sort of partitioned history. Are you saying that you have something like a virtual environment (as in Python) and the bash command history is separated according to the environment?
- dllthomas 7y agoI split up my bashrc, pulling in different "component" files: https://github.com/dlthomas/config-files/blob/master/.bashrc#L95 https://github.com/dlthomas/config-files/blob/master/.bashrc... The history file is set here: https://github.com/dlthomas/config-files/blob/master/.bash.d/session.bashrc#L9 https://github.com/dlthomas/config-files/blob/master/.bash.d...