markdown iTerm2 - 为MacOS设置彩色'ls'和其他输出

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown iTerm2 - 为MacOS设置彩色'ls'和其他输出相关的知识,希望对你有一定的参考价值。

# iTerm2 - color 'ls' and other outputs for MacOS
That's right. For OS X and BSD's `ls`, the flag is `-G`.
Many people customize the behavior of ls by replacing it with an alias that adds extra options. I have the following in my `.bashrc`, for example:
```shell
alias ls='LSCOLORS=gxfxcxdxbxexexabagacad /bin/ls -bFHGLOPW'
```
Besides enabling colors in general, this sets the `LSCOLORS` variable in order to change which ones `ls` uses.

以上是关于markdown iTerm2 - 为MacOS设置彩色'ls'和其他输出的主要内容,如果未能解决你的问题,请参考以下文章

markdown iTerm2 +哦我的Zsh + Solarized配色方案+ Meslo powerline字体+ [Powerlevel9k] - (macOS)

markdown iTerm2 +哦我的Zsh + Solarized配色方案+ Meslo powerline字体+ [Powerlevel9k] - (macOS)

markdown iTerm2 +哦我的Zsh + Solarized配色方案+ Meslo powerline字体+ [Powerlevel9k] - (macOS)

markdown iTerm2 +哦我的Zsh + Solarized配色方案+ Meslo powerline字体+ [Powerlevel9k] - (macOS)

markdown 为Iterm2安装新主题

MacOS ClashX 配置代理端口为0问题7890 配置iterm2终端代理