• <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
            中文字幕人妻色偷偷久久| 中文字幕成人精品久久不卡| 亚洲午夜无码AV毛片久久| 亚洲中文字幕久久精品无码APP | 久久久www免费人成精品| 无码国产69精品久久久久网站| 久久99国产精品一区二区| 国产精品欧美久久久久天天影视 | 久久狠狠高潮亚洲精品| 四虎国产精品免费久久久| 久久久久亚洲AV无码专区桃色 | 国产精品成人无码久久久久久| 亚洲国产精品嫩草影院久久| 久久久久久国产精品无码下载| 久久久久综合网久久| 综合久久一区二区三区 | 九九热久久免费视频| 无码人妻精品一区二区三区久久 | www.久久热| 久久久亚洲裙底偷窥综合| 94久久国产乱子伦精品免费 | 国产精品女同一区二区久久| 99蜜桃臀久久久欧美精品网站| 国内精品久久久久久久coent| 久久精品99久久香蕉国产色戒| 久久乐国产综合亚洲精品| 国产成人无码精品久久久免费| 性欧美丰满熟妇XXXX性久久久 | 久久久久无码中| 国产99久久久久久免费看| 久久精品国产亚洲av高清漫画| 久久人人爽人人爽人人爽| 久久亚洲AV成人无码| 中文字幕精品久久| 亚洲精品高清一二区久久 | 亚洲中文字幕无码久久综合网 | 爱做久久久久久| 久久精品国产免费| 国产精品久久久久久久久久免费| 久久精品国产只有精品2020| 久久久精品免费国产四虎|