Files
ubuntu-fish-dotfiles/fish/theme-t31m/t31m_prompt.fish

21 lines
341 B
Fish

# by T31M
function prompt::awsenv
if test -n "$env"
echo -n -s "[aws=$env]"
end
end
function prompt::pyenv
if test -n "$PYENV_VERSION"
echo -n -s "[$PYENV_VERSION]"
end
end
function t31m_prompt
set awsenv (prompt::awsenv)
set pyenv (prompt::pyenv)
echo -n -s (red)"$awsenv"(cyan)"$pyenv"
end