feat: lots of changes, wrote own fish theme
This commit is contained in:
20
fish/theme-t31m/t31m_prompt.fish
Normal file
20
fish/theme-t31m/t31m_prompt.fish
Normal file
@ -0,0 +1,20 @@
|
||||
# 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user