• <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 逛奔的蝸牛 閱讀(2948) 評論(0)  編輯 收藏 引用 所屬分類: Mac
            久久国产精品无| 无码任你躁久久久久久| 亚洲国产另类久久久精品小说 | 欧美午夜精品久久久久久浪潮| 久久精品夜色噜噜亚洲A∨| 日本WV一本一道久久香蕉| 国内精品人妻无码久久久影院导航| 久久综合给合久久狠狠狠97色| 国产91色综合久久免费| 日本精品久久久久影院日本| 18岁日韩内射颜射午夜久久成人 | 久久久久久久国产免费看| 要久久爱在线免费观看| 99久久国产宗和精品1上映| 91精品观看91久久久久久| 一本色道久久88综合日韩精品| 国内精品人妻无码久久久影院| yellow中文字幕久久网| 久久精品人成免费| 久久亚洲精品国产精品婷婷| 国产精品欧美亚洲韩国日本久久| 久久婷婷五月综合成人D啪| 99久久亚洲综合精品网站| 久久亚洲中文字幕精品有坂深雪 | 久久精品无码专区免费青青| 青青青青久久精品国产h久久精品五福影院1421 | 9999国产精品欧美久久久久久| 日韩AV无码久久一区二区| 伊人久久久AV老熟妇色| 久久男人AV资源网站| 91精品日韩人妻无码久久不卡| 久久精品99久久香蕉国产色戒| 日韩欧美亚洲综合久久影院Ds| 久久精品国产99久久丝袜| 久久久久国色AV免费看图片| 99久久免费国产特黄| 久久精品国内一区二区三区| 国产精品毛片久久久久久久| 国产亚洲综合久久系列| 久久青青草原精品国产| 日韩精品久久无码中文字幕|