From owner-freebsd-questions@freebsd.org Wed Jun 5 06:34:05 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF85215C78BA for ; Wed, 5 Jun 2019 06:34:04 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 866D16E770 for ; Wed, 5 Jun 2019 06:34:02 +0000 (UTC) (envelope-from amit@phpandmore.net) Received: by mail-wm1-x330.google.com with SMTP id v22so987137wml.1 for ; Tue, 04 Jun 2019 23:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phpandmore-net.20150623.gappssmtp.com; s=20150623; h=subject:to:newsgroups:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yvoYtWITay113WcEVYGmC5CrEKryj1MW2Fam3xOlxY4=; b=myI+ljciRJ2OJW3F6lZ4+Jqc1ePbwm3DNyd88EqEAnXHHX8W8MBXxqJnQti6iEo507 UTVEDzDANxOnUjhAoZvWKJX0HkPkO8O9VyMnuqE2PN/XxSv8sDKeg3YRlz+dr/03qcKp HX7es3OWhcizIN1CeIr1SO6tdYV+GJmSpZQEr+QIVm5bjugyXNeFfSh73hoYyNdnu99K dTJVV9LIMUDhLZ/t3HW/I3jYFEWyhssOt7KQhiNBQD9Y2ZhGuIHgE69wc/vrX2+o8txC d/QZcLJ8AMvPsnlq6yVZiseLDPrzcLtWBYa5yRLyXty1nJgNDr8hyNSxieoTF6Wdeoy1 H4ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:newsgroups:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yvoYtWITay113WcEVYGmC5CrEKryj1MW2Fam3xOlxY4=; b=WIjxBMFlkssnuQB7/Uwv99bX78XuHYEnFnjdyDgY7/XH8bb53PHgx32tb0Llb39vUw edIrAkQWPYWwESFJ6L3q0C42jCIQXWhGnyr2Gx2wTKnmVNZ0nzD6hQQ/bkfZ9M6T7df5 38NnyJicZUTtbmUUCkrOUdJAaym2FkwFnrx6vdf7seUeDCXBcCe7Z1xCjcCMrTcRWmR+ meIrF4UdHfzgszUQhmu9oyCKxnNJxdLvXeoyX0Fs2huCBlhJnfoS/HaJPhra8+jzh++Y o/UECl/dWqkh9GzTUqBPyrfMx8QSnKXKaol7OZ059VeuM8g0HSwxngAhrw5mICvTXOBx 4/uQ== X-Gm-Message-State: APjAAAXiMoluLT2j0zOd8KhTi8af5a0U7NJZQyWa/H1WrONERy9zYykJ B5iVlgm7sfBylNHiqG/TdFckqKMYo6o= X-Google-Smtp-Source: APXvYqxgdTMLWZUryAkitks4yxy/9AkubkK+d8qiJGwF7BevQ/D63+Ad6mfqlvYmqPYlgdwvAAELxQ== X-Received: by 2002:a05:600c:23d2:: with SMTP id p18mr11173008wmb.108.1559716439958; Tue, 04 Jun 2019 23:33:59 -0700 (PDT) Received: from ?IPv6:2a02:ed0:5290:cd00:3a60:77ff:fe2e:af49? ([2a02:ed0:5290:cd00:3a60:77ff:fe2e:af49]) by smtp.gmail.com with ESMTPSA id r131sm8623391wmf.4.2019.06.04.23.33.58 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 23:33:59 -0700 (PDT) Subject: Re: Editing LSCOLORS To: freebsd-questions@freebsd.org Newsgroups: gmane.os.freebsd.questions References: <4299ac8a-ddb9-9f55-69c8-121bf9632cc8@phpandmore.net> <20190604153505.86f4c58d.freebsd@edvax.de> <57bf43fe-9ec2-4e10-0aa0-be054364d4a3@phpandmore.net> <20190605055220.661acb4b.freebsd@edvax.de> From: Amit Yaron Message-ID: Date: Wed, 5 Jun 2019 09:33:56 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190605055220.661acb4b.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 866D16E770 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=phpandmore-net.20150623.gappssmtp.com header.s=20150623 header.b=myI+ljci X-Spamd-Result: default: False [-6.09 / 15.00]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: ASPMX.L.GOOGLE.COM]; DKIM_TRACE(0.00)[phpandmore-net.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[phpandmore-net.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.81)[ip: (-9.39), ipnet: 2a00:1450::/32(-2.32), asn: 15169(-2.30), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[0.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 06:34:05 -0000 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). > >