3 ms·
I saw the author's structure with .bashrc under the bash "app subdirectory" in stow, and thought that it would also be handy to allow your vim app subdirectory
by philsnow 9y ago
I saw the author's structure with .bashrc under the bash "app subdirectory" in stow, and thought that it would also be handy to allow your vim app subdirectory to include some bash snippets to be included in bashrc.
You can't just have multiple .bashrc files that get linked to the same ~/.bashrc destination, but you can have a ~/.bashrc.d directory and have the end of your central .bashrc source everything in that directory (in some well-defined order). then your vim app subdirectory could add shell aliases/functions for, say, invoking vimdiff in a particular way, by adding a file in ~/dotfiles/vim/.bashrc.d/vim.bashrc .
- mikegerwitz 9y agoI created similar for use at work for our developers' PCs/VMs: https://github.com/lovullo/bash-d https://github.com/lovullo/bash-d