aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xzsh/.zsh/aliases.zsh5
1 files changed, 4 insertions, 1 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh
index b96831a..f1eeda2 100755
--- a/zsh/.zsh/aliases.zsh
+++ b/zsh/.zsh/aliases.zsh
@@ -84,7 +84,10 @@ email() {
echo $3 | mutt -s $2 $1
}
c() {
- pygmentize -O style=sourcerer -f console256 -g $1
+ for file in "$@"
+ do
+ pygmentize -O style=sourcerer -f console256 -g "$file"
+ done
}
l() {
pygmentize -O style=sourcerer -f console256 -g $1 | less -r