Add nv function for Neovim
This commit is contained in:
parent
2d0da237ea
commit
04f4794c40
|
@ -27,3 +27,12 @@ function p () {
|
|||
function pf () {
|
||||
vendor/bin/$(phpunit-or-pest) --filter $*
|
||||
}
|
||||
|
||||
nv() {
|
||||
if [[ $# > 0 ]];
|
||||
then
|
||||
nvim $@
|
||||
else
|
||||
nvim .
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue