Add nv function for Neovim

This commit is contained in:
Oliver Davies 2021-08-03 13:48:14 +01:00
parent 2d0da237ea
commit 04f4794c40

View file

@ -27,3 +27,12 @@ function p () {
function pf () {
vendor/bin/$(phpunit-or-pest) --filter $*
}
nv() {
if [[ $# > 0 ]];
then
nvim $@
else
nvim .
fi
}