Explorar o código

Added pcat alias

Taddeus Kroes %!s(int64=12) %!d(string=hai) anos
pai
achega
90fd256a48
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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
 #