Profile for dircolors: Permit codes after 'LINK target'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
New
|
Undecided
|
Unassigned |
Bug Description
This is a wishlist item.
Currently, in the byobu profile 'dircolrors' file, when choosing the color for a symlink, 'target' may be used instead of the normal attribute/fg/bg coddes.
For example, the current usage could include:
LINK target # Make the link look exactly as its target
# xor
LINK 04;36 # Make the link cyan and underlined
This is a request to permit 'target' to simply act as an initializer for the colors -- perhaps syntax like this:
LINK target;4 # Make the link look exactly as its target, but be underlined
LINK target;4;40 # Make the link look exactly as its target, but be underlined on a 'black' background
The utility of this seems clear to me, although it may not be applicable with every color scheme. By making some simple formatting exclusive to symlinks, (blinking, or underlined, for example) the end result is that you can look at a symlink and see that:
a) it is a symlink
b) what certain qualities of its target are (whatever information is provided by the target's attribute/color codes)
Also to the credit of this idea is that it should have a comparatively low implementation difficulty while providing a high degree of utility.