• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Disable CLICOLOR in terminal

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 517 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    amnixed
    last edited by Jan 30, 2023, 7:15 PM

    I use lxterminal(1) on FreeBSD with a dark blue background which makes reading the output of ls(1) difficult to read with the coloring scheme in .tcshrc.

    After some stumbling and bumbling I found this post which advises to comment out the line:

    setenv CLICOLOR "true"

    and doing so indeed disables colors.

    I was surprised to find though the changing the above to:

    setenv CLICOLOR "false"

    did not disable colors.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jan 30, 2023, 8:43 PM

      It probably tests for presence, not value. What you want is:

      unsetenv CLICOLOR
      

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      A 1 Reply Last reply Jan 30, 2023, 10:03 PM Reply Quote 1
      • A
        amnixed @jimp
        last edited by Jan 30, 2023, 10:03 PM

        @jimp said in Disable CLICOLOR in terminal:

        unsetenv CLICOLOR

        Thank you for clarifying!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received