• <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
            内射无码专区久久亚洲| 久久精品日日躁夜夜躁欧美| 国内精品久久国产大陆| 狠狠色丁香婷婷久久综合不卡| 国产女人aaa级久久久级| 欧美激情精品久久久久久久九九九| 久久国产精品无| 亚洲精品国产成人99久久| 色偷偷88欧美精品久久久| 无码人妻少妇久久中文字幕蜜桃| 国产免费久久精品99久久| 蜜桃麻豆WWW久久囤产精品| 伊人久久免费视频| 久久人人爽人人爽人人片av高请| 国产精品综合久久第一页 | 国内精品久久久久久99蜜桃| 伊人久久免费视频| 久久婷婷国产综合精品| 伊人久久大香线蕉综合网站| 四虎国产精品免费久久久| 97久久香蕉国产线看观看| 2021国产精品久久精品| 久久99精品久久久久久野外 | 国产AⅤ精品一区二区三区久久| 中文字幕久久波多野结衣av| 看全色黄大色大片免费久久久| 久久免费精品一区二区| 久久精品黄AA片一区二区三区| 亚洲午夜精品久久久久久浪潮 | 久久亚洲sm情趣捆绑调教| 久久人人爽人人澡人人高潮AV | 亚洲国产天堂久久久久久| 久久国产视屏| 日本欧美国产精品第一页久久| 777久久精品一区二区三区无码| 国产一久久香蕉国产线看观看| 久久国产亚洲精品麻豆| 国产99久久九九精品无码| 久久久久亚洲爆乳少妇无 | 精品国产婷婷久久久| 久久国产视频网|