terminal-colors.d changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 I have merged some improvements:

  * $XDG_CONFIG_HOME/terminal-colors.d and $HOME/.config/terminal-colors.d 
    are supported now

  * @termname suffix is possible to use to restrict the setting to
    specified terminal, for example

       touch /etc/terminal-colors.d/@vt100.disable

    to disable colors for all utils with TERM=vt100 

  * "scheme" files to customize colors are supported now, for example

       echo 'alert 37;41' >> /etc/terminal-colors.d/dmesg.scheme

    sets red background color for alert messages.
    
    The scheme files supports color names (e.g. "red"), ANSI color
    sequences (e.g. 37;41) and escape sequences (e.g. \a for bell).

  * all this is optional and with almost zero overhead for systems
    without terminal-colors.d/


    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux