From e005fe62512b9ec910ab3cc26c773ba5dc79b7e6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 31 Oct 2010 18:49:42 +0100 Subject: [PATCH] zsh/rc: Add wrappers for tree and xpdf. --- zsh/rc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/zsh/rc b/zsh/rc index 7f518ca..f9b13b0 100644 --- a/zsh/rc +++ b/zsh/rc @@ -580,6 +580,17 @@ tig() { $@ } +# Pipe output through less. +tree() { + command tree -C "$@" | less +} + +# Automatically disown. +xpdf() { + command xpdf "$@" & + disown %command +} + # OS SPECIFIC SETTINGS -- 2.44.1