소스 검색

Added pcat alias

Taddeus Kroes 12 년 전
부모
커밋
90fd256a48
1개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      bashrc

+ 3 - 0
bashrc

@@ -92,6 +92,9 @@ alias ocaml='rlwrap ocaml'
 #   sleep 10; alert
 alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
 
+# syntax-highlighted cat
+alias pcat="pygmentize -f terminal256 -O style=native -g"
+
 #
 # Environment
 #