aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-10-27 00:31:17 -0400
committerxero <x@xero.nu>2015-10-27 00:31:17 -0400
commitf5797248647155b42505574f1d5e5b1ff6afa757 (patch)
treebf16cb7fe4a268719fa164059a340d77a4437ba9 /zsh
parent4656bad823aeed78cf29d3ed3d6ec9ed7c78a917 (diff)
downloaddotfiles_ascii-f5797248647155b42505574f1d5e5b1ff6afa757.tar.xz
dotfiles_ascii-f5797248647155b42505574f1d5e5b1ff6afa757.zip
pygmentize cat and less commands
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zsh/aliases.zsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh
index 471a53b..b96831a 100755
--- a/zsh/.zsh/aliases.zsh
+++ b/zsh/.zsh/aliases.zsh
@@ -83,11 +83,11 @@ tmx() {
email() {
echo $3 | mutt -s $2 $1
}
-pcat() {
- pygmentize -f terminal256 -O style=monokai -g
+c() {
+ pygmentize -O style=sourcerer -f console256 -g $1
}
-pless() {
- pygmentize -f terminal256 -O style=monokai -g $1 | less -r
+l() {
+ pygmentize -O style=sourcerer -f console256 -g $1 | less -r
}
# read markdown files like manpages
md() {