diff options
author | David Runge <david.runge@frqrec.com> | 2014-10-31 18:30:03 +0100 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-10-31 18:30:03 +0100 |
commit | ccf94b7df09799feb201d1a59928932fda4e24f4 (patch) | |
tree | 32a8352121f29c02ac3e3024deaae338c5fc04a3 /.zsh.before/functions.zsh | |
parent | ca44a29e2ebd7c2fc80899139335ee1547867ea6 (diff) | |
download | dotfiles-ccf94b7df09799feb201d1a59928932fda4e24f4.tar.gz dotfiles-ccf94b7df09799feb201d1a59928932fda4e24f4.tar.bz2 dotfiles-ccf94b7df09799feb201d1a59928932fda4e24f4.tar.xz dotfiles-ccf94b7df09799feb201d1a59928932fda4e24f4.zip |
zsh: Adding config files for zprezto, zsh settings and prompts, to comply with the way zprezto gets started
Diffstat (limited to '.zsh.before/functions.zsh')
-rw-r--r-- | .zsh.before/functions.zsh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |