dotfiles v1.1.0

This commit is contained in:
Your Name
2026-06-22 20:59:15 +00:00
parent 6f1bab1154
commit 5dbfdcafa6
3 changed files with 62 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
function fish_right_prompt
set -l parts
set -l jobs (jobs -p | wc -l)
if test "$jobs" -gt 0
set -a parts (set_color brblack)"[$jobs job(s)]"(set_color normal)
end
if set -q VIRTUAL_ENV
set -a parts (set_color 666666)"(venv)"(set_color normal)
end
if set -q CONDA_DEFAULT_ENV
set -a parts (set_color 666666)"(conda: $CONDA_DEFAULT_ENV)"(set_color normal)
end
if set -q SSH_CONNECTION
set -a parts (set_color 666666)"(ssh)"(set_color normal)
end
if set -q parts[1]
string join ' ' $parts
end
end