X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bashrc;h=f409183df063975506acec67f3e04f1d81acc6ad;hb=bd58ef5147bd0d7cfea4148e69d64634bceaa9d6;hp=a2a2cdd69465a18e6388464ce80c4e5fc868b209;hpb=f0faba15cb05b5a5b6269816bb42e736fac9bb4b;p=max%2Fdotfiles.git diff --git a/bashrc b/bashrc index a2a2cdd..f409183 100644 --- a/bashrc +++ b/bashrc @@ -111,3 +111,13 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi + + +# Some simple note taking functions +n() { + $EDITOR ~/notes/"$*".txt +} + +nls() { + ls -c ~/notes/ | grep "$*" +}