aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-08-17 04:11:41 -0300
committerEuAndreh <eu@euandre.org>2025-08-17 04:11:41 -0300
commit7addf3ecc201098ee2009799c98b400646828101 (patch)
treeb39b0da21d53a08591f25a2010832e86bc7d12e7
parentbin/print: Separate rule for text from other file types (diff)
downloaddotfiles-main.tar.gz
dotfiles-main.tar.xz
bin/print: When text, add line numbersHEADmain
-rwxr-xr-xbin/print2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/print b/bin/print
index accccd3..6e62590 100755
--- a/bin/print
+++ b/bin/print
@@ -58,7 +58,7 @@ main() {
elif file -b "$FILE" | grep -q PDF; then
cp "$FILE" "$NEWDIR"/in.pdf
elif file -b "$FILE" | grep -q text; then
- enscript -o- "$FILE" | ps2pdf - "$NEWDIR"/in.pdf
+ enscript -C -o- "$FILE" | ps2pdf - "$NEWDIR"/in.pdf
else
lp $OPTS "$FILE"
return