Date: Wed, 5 Jun 2019 05:52:20 +0200 From: Polytropon <freebsd@edvax.de> To: Amit Yaron <amit@phpandmore.net> Cc: freebsd-questions@freebsd.org Subject: Re: Editing LSCOLORS Message-ID: <20190605055220.661acb4b.freebsd@edvax.de> In-Reply-To: <57bf43fe-9ec2-4e10-0aa0-be054364d4a3@phpandmore.net> References: <c7f5b6d5-0116-e761-256d-ee68214ab683@phpandmore.net> <CADqw_gKFx0Up%2BNB7%2BUba2vLrGke3iuyr956e1n0awVH1yxm9QA@mail.gmail.com> <4299ac8a-ddb9-9f55-69c8-121bf9632cc8@phpandmore.net> <20190604153505.86f4c58d.freebsd@edvax.de> <57bf43fe-9ec2-4e10-0aa0-be054364d4a3@phpandmore.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Jun 2019 16:52:04 +0300, Amit Yaron wrote: > Thanks! > I've set it in my ~/.bashrc > Just wanted a user-friendly tool with which I can edit the variable. As this variable is optional (for the operation of the ls program), there is no such tool. Except of course you consider your editor of choice as such a tool, which edits _files_ that have an effect on setting the variable. Or you can see the line editing feature of your shell as such a means... as both are very user-friendly. ;-) However, when you have set $LSCOLORS once, there is hardly any need to change it several times a week. The color codes and the positional parameters that form the variable's content can be found in "man ls". Do some experimenting in your shell, and save the final result to ~/.login_conf or your shell's startup file, which in case of bash is ~/.bashrc (for interactive shells; see section "INVOCATION" in "man bash" for details). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190605055220.661acb4b.freebsd>