dotcommon icon indicating copy to clipboard operation
dotcommon copied to clipboard

Take nonstandard filenames into account

Open BertalanD opened this issue 4 years ago • 1 comments

Some people put configurations that apply to both zsh and bash into separate files, and source these from both shells' configuration. One example is .config/aliasrc in Luke Smith's voidrice repo.

Solution 1: follow source and . statements in shell config files. This would not work if the repo root does not correspond to the home directory, as described in #11.

Solution 2: track filenames commonly used for this purpose, i.e. aliasrc, aliases etc. This would be easier to accomplish.

BertalanD avatar Jul 28 '20 14:07 BertalanD

We're searching GitHub by filenames, not by full paths. Thus there's no problem with subdirectories. Searching for multiple filenames (e.g. bashrc and aliasrc) is possible, but I have no desire to implement it myself anytime soon.

Kharacternyk avatar Jul 28 '20 14:07 Kharacternyk