• <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
            国内精品欧美久久精品| 久久婷婷五月综合国产尤物app| 久久99国产精一区二区三区| 99久久免费国产精品热| 国产精品成人久久久久久久| 久久久亚洲精品蜜桃臀| 99久久夜色精品国产网站| 色综合久久综合网观看| 久久天天躁狠狠躁夜夜2020一| 久久精品黄AA片一区二区三区| 99久久精品免费| 久久夜色精品国产网站| 国产成人精品久久亚洲高清不卡| 久久久精品国产免大香伊| 99久久婷婷国产一区二区| 久久亚洲精品无码VA大香大香| 久久精品成人免费网站| 久久精品中文字幕一区| 久久精品中文字幕一区| 91精品国产综合久久精品| 无码八A片人妻少妇久久| 亚洲午夜久久影院| 久久棈精品久久久久久噜噜| 四虎国产精品免费久久| 丁香久久婷婷国产午夜视频| 久久国产免费观看精品3| 久久精品亚洲AV久久久无码| 性欧美大战久久久久久久| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 | 久久精品亚洲AV久久久无码| 一本大道加勒比久久综合| 色综合久久久久综合体桃花网| 亚洲午夜久久久| 久久99国产一区二区三区| 久久久中文字幕| 精品无码久久久久国产| 亚洲色欲久久久综合网| 无码人妻久久一区二区三区| 国内精品久久久久影院薰衣草| 久久久久久综合网天天| 久久久久国产精品人妻|