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

    Disable CLICOLOR in terminal

    General pfSense Questions
    2
    3
    505
    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

      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
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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 Reply Quote 1
        • A
          amnixed @jimp
          last edited by

          @jimp said in Disable CLICOLOR in terminal:

          unsetenv CLICOLOR

          Thank you for clarifying!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.