aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.before/functions.zsh
blob: 4b2ef1a2c0fdcba17c4607975201e49b725323ab (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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
fi