Skip to content

Instantly share code, notes, and snippets.

<div dir="auto">
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)" dir="auto">
<font style="font-size: 16px"><b><span style="color: var(--textColor); background-color: var(--backgroundColor)">Markus Thiel</span><br></b></font>
</div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)" dir="auto">VD</div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)" dir="auto">WeHappy AB</div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)" dir="auto"><br></div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)" dir="auto"><hr></div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)" dir="auto"><br></div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)" dir="auto">
@mackelito
mackelito / node-npm-switch.md
Last active December 17, 2021 09:35
Automatic npm/npm swiching for zsh

open ~/.zshrc

add this to ~/.zshrc

chpwd_functions=(change_nvm_version)

function change_node_version { nvmrc="./.nvmrc" if [ -f "$nvmrc" ]; then version="$(cat "$nvmrc")"