diff options
author | xero <x@xero.nu> | 2015-10-31 01:12:57 -0400 |
---|---|---|
committer | xero <x@xero.nu> | 2015-10-31 01:13:43 -0400 |
commit | c9794fec6f9c9bb5ffbf0666d81bc167cc3273e3 (patch) | |
tree | 11ed2f1b6c1f3590f57922ca03bdbeb8cb071c7c | |
parent | ea6aaca19daa8015a3fa5048ee669362305abc6c (diff) | |
download | dotfiles_ascii-c9794fec6f9c9bb5ffbf0666d81bc167cc3273e3.tar.xz dotfiles_ascii-c9794fec6f9c9bb5ffbf0666d81bc167cc3273e3.zip |
make c alias really work like cat
-rwxr-xr-x | zsh/.zsh/aliases.zsh | 5 |
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 |