• <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 逛奔的蝸牛 閱讀(2950) 評論(0)  編輯 收藏 引用 所屬分類: Mac
            色综合久久无码中文字幕| 7777久久亚洲中文字幕| 亚洲va久久久久| 久久精品无码一区二区无码| 久久99精品久久久久久噜噜| 久久精品综合网| 久久青草国产精品一区| 国产色综合久久无码有码| 久久亚洲国产中v天仙www| 久久经典免费视频| 99久久精品费精品国产| 无码伊人66久久大杳蕉网站谷歌 | 99精品久久久久久久婷婷| 色婷婷综合久久久久中文字幕| 无码人妻久久久一区二区三区| AAA级久久久精品无码区| 久久久久人妻一区精品性色av| 欧美久久综合九色综合| 久久99国产精品久久| 色婷婷久久综合中文久久蜜桃av| 亚洲国产香蕉人人爽成AV片久久| 99久久成人国产精品免费| 亚洲国产精品无码成人片久久| 久久久久久极精品久久久| 国产精品久久久久…| 精品少妇人妻av无码久久| 伊人久久大香线蕉亚洲五月天| 久久婷婷色香五月综合激情| 精品乱码久久久久久夜夜嗨| 亚洲一区二区三区日本久久九| 久久国产精品99久久久久久老狼| 久久精品亚洲中文字幕无码麻豆| 性高湖久久久久久久久| 亚洲AV无码一区东京热久久| 久久久久久国产精品美女| 午夜久久久久久禁播电影| 亚洲AV乱码久久精品蜜桃| 97久久香蕉国产线看观看| 国产一区二区精品久久| 成人久久精品一区二区三区| 久久亚洲国产午夜精品理论片|