Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


If 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.


Oh, 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?


I split up my bashrc, pulling in different "component" files: 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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: