• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            逛奔的蝸牛

            我不聰明,但我會很努力

               ::  :: 新隨筆 ::  ::  :: 管理 ::
            原文: http://www.macfans.com.cn/thread-34827-1-1.html

            Terminal 下不同類型的文件顯示不同的顏色
            Terminal 默認的 shell 是 bash (提示符是 $)
            在 ~ 先建立一個文件  ~/.bash_profile 
            加入下面的兩行:
            export CLICOLOR=1
            export LSCOLORS=gxfxaxdxcxegedabagacad

            存盤, 退出Terminal, 重起Terminal.
            更改LSCOLORS可以有不同的顏色效果。 

            -----------------------------------------------------
            如果你用的是 csh/tcsh (提示符是 %), 建立  ~/.cshrc 加入
            setenv CLICOLOR 1
            setenv LSCOLORS gxfxaxdxcxegedabagacad

            存盤, 執行 source ~/.cshrc
            ------------------------------------------------------

            LSCOLORS 的含義:

                LSCOLORS The value of this variable describes what color to use
                for which attribute when colors are enabled with
                CLICOLOR. This string is a concatenation of pairs of the
                format fb, where f is the foreground color and b is the
                background color.

                The color designators are as follows:

                a black
                b red
                c green
                d brown
                e blue
                f magenta
                g cyan
                h light grey
                A bold black, usually shows up as dark grey
                B bold red
                C bold green
                D bold brown, usually shows up as yellow
                E bold blue
                F bold magenta
                G bold cyan
                H bold light grey; looks like bright white
                x default foreground or background

                Note that the above are standard ANSI colors. The actual
                display may differ depending on the color capabilities of
                the terminal in use.

                The order of the attributes are as follows:

                1. directory
                2. symbolic link
                3. socket
                4. pipe
                5. executable
                6. block special
                7. character special
                8. executable with setuid bit set
                9. executable with setgid bit set
                10. directory writable to others, with sticky bit
                11. directory writable to others, without sticky
                bit

                The default is “exfxcxdxbxegedabagacad”, i.e. blue fore-
                ground and default background for regular directories,
                black foreground and red background for setuid executa-
                bles, etc.
            posted on 2008-08-15 14:10 逛奔的蝸牛 閱讀(2945) 評論(0)  編輯 收藏 引用 所屬分類: Mac
            奇米综合四色77777久久| 香港aa三级久久三级| 亚洲综合伊人久久综合| 狠狠色丁香久久婷婷综合| 久久精品人人槡人妻人人玩AV | 国产99久久九九精品无码| 国产精品免费看久久久香蕉| 伊人久久大香线蕉无码麻豆 | 国产免费久久精品99久久| 综合久久精品色| 久久亚洲欧美日本精品| 亚洲国产精品成人AV无码久久综合影院| 久久精品国产日本波多野结衣 | 久久频这里精品99香蕉久| 国内精品人妻无码久久久影院| 久久996热精品xxxx| 亚洲熟妇无码另类久久久| 久久亚洲色一区二区三区| 久久国产精品成人免费| 日日躁夜夜躁狠狠久久AV| 久久99精品国产99久久6| 国产美女久久久| 色欲久久久天天天综合网精品| 人妻无码久久精品| 国产精品gz久久久| 色噜噜狠狠先锋影音久久| 久久久久99精品成人片试看| 亚洲色欲久久久综合网 | 伊人丁香狠狠色综合久久| 久久青青草原亚洲av无码app| 久久这里都是精品| 亚洲精品视频久久久| 欧美久久久久久精选9999| 国产亚洲精午夜久久久久久| 99久久精品日本一区二区免费| 亚洲午夜久久久久久噜噜噜| 亚洲国产精品无码久久98| 亚洲国产精品无码久久久秋霞2| 99久久精品免费看国产一区二区三区 | 99久久国产亚洲高清观看2024 | 久久久久久综合一区中文字幕|