From: Simon Ruderich Date: Sun, 31 Oct 2010 17:49:42 +0000 (+0100) Subject: zsh/rc: Add wrappers for tree and xpdf. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=e005fe62512b9ec910ab3cc26c773ba5dc79b7e6;hp=946a5c992e47a7af05701a7b43518462e193ea51;p=config%2Fdotfiles.git zsh/rc: Add wrappers for tree and xpdf. --- 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