summaryrefslogtreecommitdiffstats
path: root/.config/fish/functions
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/functions')
-rw-r--r--.config/fish/functions/fish_right_prompt.fish7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/fish/functions/fish_right_prompt.fish b/.config/fish/functions/fish_right_prompt.fish
index 5963ed9..1e28dfc 100644
--- a/.config/fish/functions/fish_right_prompt.fish
+++ b/.config/fish/functions/fish_right_prompt.fish
@@ -76,6 +76,11 @@ function fish_right_prompt --description 'Write out the right prompt'
76 set virtualenv "$green 🐍 " (basename "$VIRTUAL_ENV") 76 set virtualenv "$green 🐍 " (basename "$VIRTUAL_ENV")
77 end 77 end
78 78
79 set -l node_version
80 if set -q nvm_current_version
81 set node_version "$red  " "$nvm_current_version"
82 end
83
79 set hour $blue(date '+%R') 84 set hour $blue(date '+%R')
80 echo -n -s $virtualenv ' ' $repo_info ' ' $hour 85 echo -n -s $node_version ' ' $virtualenv ' ' $repo_info ' ' $hour
81end 86end