Date: Wed, 5 Jun 2019 09:33:56 +0300 From: Amit Yaron <amit@phpandmore.net> To: freebsd-questions@freebsd.org Subject: Re: Editing LSCOLORS Message-ID: <d6b7e6ca-113d-0565-837c-4442b0970b62@phpandmore.net> In-Reply-To: <20190605055220.661acb4b.freebsd@edvax.de> 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> <20190605055220.661acb4b.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Or... ask a question here, and get a great answer with a link to a site that help you construct the value of the environment variable. On 5.6.2019 4:52, Polytropon wrote: > 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). > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d6b7e6ca-113d-0565-837c-4442b0970b62>