mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
12 lines
290 B
Bash
Executable File
12 lines
290 B
Bash
Executable File
#!/bin/sh
|
|
source ../common.sh
|
|
|
|
# Load zsh-nvm
|
|
load_zsh_nvm
|
|
|
|
# Check unwrapped nvm doesn't have revert command
|
|
_zsh_nvm_nvm revert && die "Unwrapped nvm already has revert command"
|
|
|
|
# Check nvm is wrapped with our revert command
|
|
nvm revert || die "nvm isn't wrapped with our revert command"
|