Closed jstarks closed 4 years ago
Oh cool, I didn't know about sdir, that's quite nice. I was using dir -m -color for a kind of ls equivalent, where I don't want all the metadata.
By the way, is there a .profile/.bashrc equivalent for yori to set up aliases and things?
Everything is controlled via the environment. You have three basic options to configure that:
Personally I typically end up doing the third option, because that's what I'd have previously done with CMD.
Thanks for the cleanup. I was never happy with the multiplicative number of conditions in this code. I'm a bit surprised you wanted these semantics though - are you using dir -m for readability rather than scripting? I've been using sdir as a totally non-scriptable but hopefully more human friendly directory enumerator, which is where all the color code came from.