Browse Source

Add ccat alias for displaying highlighted text files to .zshrc

Frans Bergman 6 years ago
parent
commit
08ddcabd48
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .zshrc

+ 2 - 0
.zshrc

@@ -98,6 +98,8 @@ source $ZSH/oh-my-zsh.sh
 # alias zshconfig="mate ~/.zshrc"
 # alias ohmyzsh="mate ~/.oh-my-zsh"
 
+alias ccat="highlight --out-format=ansi"
+
 export MAKEFLAGS="-j$(nproc)"
 export EDITOR="vim"