mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-11-12 15:25:11 +01:00
Added class and os alternates
This commit is contained in:
1 parent
5a5286b38c
commit
80a58d4669
793 files changed
+63028
-295
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
# get the node.js version
|
||||
function nvm_prompt_info() {
|
||||
[[ -f "$NVM_DIR/nvm.sh" ]] || return
|
||||
local nvm_prompt
|
||||
nvm_prompt=$(node -v 2>/dev/null)
|
||||
[[ "${nvm_prompt}x" == "x" ]] && return
|
||||
nvm_prompt=${nvm_prompt:1}
|
||||
echo "${ZSH_THEME_NVM_PROMPT_PREFIX}${nvm_prompt}${ZSH_THEME_NVM_PROMPT_SUFFIX}"
|
||||
}
|
||||
Reference in new issue
Block a user