浏览代码

alias json to use inspect output by default

Kyle P Davis 8 年之前
父节点
当前提交
d9d35ae9db
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .profile

+ 3 - 0
.profile

@@ -71,6 +71,9 @@ export GREP_OPTIONS="--color --exclude-dir=.svn --exclude-dir=.git --exclude-dir
 # color diffs
 ! which colordiff &>/dev/null  ||  alias diff="colordiff"
 
+# color json
+! which json &>/dev/null  ||  alias json="json -o inspect"
+
 # MacVim shell aliases
 if [ "$OS" = "Darwin" ]; then
 	alias gvim="mvim"