4 ms·
Fish does this by default (and much more as well).
by dual_basis 7y ago
Fish does this by default (and much more as well).
- dllthomas 7y agoCould you elaborate? I can read docs, but it's not clear to me what correspondences you have in mind. Specifically, I'm not sure what "this" is that fish does, as I described interaction of multiple pieces of software and I don't think fish includes a terminal multiplexer?
- jackbravo 7y agoautocompletion 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...