Jani Monoses wrote:
Jean Jordaan wrote:
Do you use an endlessly-expanding set of shell aliases to get around that?


In bash I use !(_darcs) as that expands to all files/dirs except _darcs. This works if you have extglob set ($shopt -s extglob)

I think this is exactly what the original poster meant by "endlessly-expanding set of shell aliases" :). That works great it bash is the only way you ever interact with your repository and you don't mind typing that every time you do anything. Unfortunately some people use other tools. Windows' "Search", vim's :grep, perl and python scripts, Source Insight's "find in files", and so on.

Moving _darcs to .darcs wouldn't really solve anything, either. Darcs already walks up the directory hierarchy looking for _darcs so having some failback code to look in ~/.darcs or a DARCS_REPO_DIR environment variable doesn't seem too unreasonable :-)


_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to