---
title: "mac命令行美化配置"
author: "tedeyang"
date: "2011-04-17T22:24:46Z"
tags: []
categories: ["操作系统"]
slug: "mac"
draft: false
lastmod: "2011-04-17T22:24:46Z"
id: 1005842
url: "https://hitery.iteye.com/blog/1005842"
---

te@imac ~$ cat .bash_profile 

```java
export CLICOLOR=1
# \h:\W \u\$
export PS1='\[\033[01;33m\]\u@\h\[\033[01;31m\] \W\$\[\033[00m\] '
# grep
alias grep='grep --color=always'
```