From ccf94b7df09799feb201d1a59928932fda4e24f4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 31 Oct 2014 18:30:03 +0100 Subject: zsh: Adding config files for zprezto, zsh settings and prompts, to comply with the way zprezto gets started --- .zsh.before/functions.zsh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.zsh.before/functions.zsh') diff --git a/.zsh.before/functions.zsh b/.zsh.before/functions.zsh index 01bc224..4b2ef1a 100644 --- a/.zsh.before/functions.zsh +++ b/.zsh.before/functions.zsh @@ -1,3 +1,10 @@ +# Functions +# +# (f)ind by (n)ame +# usage: fn foo +# to find all files containing 'foo' in the name +function fn() { ls **/*$1* } + if [ -e $HOME/bin/functions.sh ] then . $HOME/bin/functions.sh -- cgit v1.2.3-70-g09d2