diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-05-02 17:09:52 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-05-02 17:09:52 +0200 |
commit | 808fd269763967ef34950f851de0ffdcc5de3136 (patch) | |
tree | 21515181258f1c4f778af95c2331282e762c27b7 | |
parent | b22d5c8d3710096f7c31297f3b325ab5662626ac (diff) |
Alias ALL the printers
-rw-r--r-- | etc/.zshrc | 36 |
1 files changed, 27 insertions, 9 deletions
@@ -474,15 +474,33 @@ then elif [[ ${HOST} == plutonium ]] #{{{ then -alias lpq-msw18='lpq -l -Ppool08' -alias lpq-oh14='lpq -l -Pohs14pr1' -alias lpq-oh16='lpq -l -Pps17oh' -alias lpq-oh20-e14='lpq -l -Ppool07' - -alias lpr-msw18='lpr -Ppool08 -Fa4g -Ksimplex -N1 -ALayout=lrtb' -alias lpr-oh14='lpr -Pohs14pr1 -Fa4g -Ksimplex -N1 -ALayout=lrtb' -alias lpr-oh16='lpr -Pps17oh -Fa4g -Ksimplex -N1 -ALayout=lrtb' -alias lpr-oh20-e14='lpr -Ppool07 -Fa4g -Ksimplex -N1 -ALayout=lrtb' +# ps17oh: oh16 1xx +# pool05: oh14 u04 (closed) +# pool04: oh18 u01 +# pool00: msw16 u08 +# pool09: jvf23 e32 +# pool08: msw18 211 +# pool03: msw16 u12 +# pool07: oh20 e14 +# lj4500: msw16 108 / 117 (Farb) +# nd50: oh20 e06 +# ohs14pr1: oh14 e35 + +for pair in \ + pool00.msw16-u08 \ + pool03.msw16-u12 \ + pool04.oh18-u01 \ + pool05.oh14-u04 \ + pool07.oh20-e14 \ + pool08.msw18-211 \ + pool09.jvf23-e32 \ + nd50.oh20-e06 \ + ohs14pr1.oh14-e35 \ + ps17oh.oh16-1og +do + alias lpq-${pair:e}="lpq -l -P${pair:r}" + alias lpr-${pair:e}="lpr -P${pair:r} -Fa4g -Ksimplex -N1 -ALayout=lrtb" +done fi #}}} if [[ -e /tmp/.x-started ]] { #{{{ |