• <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 逛奔的蝸牛 閱讀(2958) 評論(0)  編輯 收藏 引用 所屬分類: Mac
            九九久久99综合一区二区| 久久久这里只有精品加勒比| 日产精品久久久久久久| 综合久久久久久中文字幕亚洲国产国产综合一区首 | 久久精品国产亚洲麻豆| 久久天天躁狠狠躁夜夜不卡| 久久精品国产AV一区二区三区| 久久99国产综合精品女同| 亚洲天堂久久精品| 怡红院日本一道日本久久 | 国产午夜精品久久久久九九| 欧美国产成人久久精品| 欧美综合天天夜夜久久| 老男人久久青草av高清| 国产呻吟久久久久久久92| 亚洲精品乱码久久久久久蜜桃图片| 婷婷久久综合九色综合98| 亚洲va久久久噜噜噜久久天堂| 精品国产青草久久久久福利| 久久水蜜桃亚洲av无码精品麻豆| 久久婷婷五月综合成人D啪| 久久精品国产精品亚洲精品| 性色欲网站人妻丰满中文久久不卡| 久久福利片| 国产2021久久精品| 精品无码久久久久国产| 亚洲AV日韩精品久久久久| 久久99久久99精品免视看动漫 | 久久免费视频观看| 久久九九青青国产精品| 狠狠色丁香婷婷综合久久来| 久久免费的精品国产V∧| 无码人妻久久一区二区三区 | 国产A级毛片久久久精品毛片| 精品久久8x国产免费观看| 精品国产一区二区三区久久久狼| 久久亚洲sm情趣捆绑调教| 日产精品久久久久久久| 色综合久久中文字幕无码| 精品无码久久久久久午夜| 99久久99这里只有免费费精品|