Ver código fonte

Added pcat alias

Taddeus Kroes 12 anos atrás
pai
commit
90fd256a48
1 arquivos alterados com 3 adições e 0 exclusões
  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
 #