add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View file

@ -0,0 +1,19 @@
---
title: "auto nvm use"
seo_description: Configuration to automatically run when starting a shell session in a dir with an .nvmrc file
date: 2023-03-13T10:33:12+01:00
draft: false
snippet_types:
- nvm
---
Simply adding:
```
[ -f ./.nvmrc ] && nvm use
```
to your .bashrc or .zshrc
Will automatically run the `nvm use` command should you start the shell in a dir with a `.nvmrc` file.