Switch to oh-my-posh.

This commit is contained in:
Mikael Capelle 2023-07-13 09:55:27 +02:00
parent 0978301f7a
commit 577e00e185
2 changed files with 6 additions and 5 deletions

View File

@ -21,9 +21,6 @@ end
umask 022
# Theme configuration (bobthefish):
set -g theme_newline_cursor yes
set -g theme_newline_prompt "\$ "
set -g theme_color_scheme zenburn
set -g VIRTUAL_ENV_DISABLE_PROMPT 1
# Python configuration:
@ -31,7 +28,7 @@ set -x PYTHONIOENCODING UTF-8
set -xg WORKON_HOME $HOME/.envs
set -xg MYPYPATH $HOME/.mypy
if command -v kubectl
if command -v kubectl > /dev/null 2>&1
kubectl completion fish | source
end
@ -48,3 +45,5 @@ end
# Azure
set -g FUNCTIONS_CORE_TOOLS_TELEMETRY_OPTOUT 1
~/.local/bin/oh-my-posh init fish --config https://gitea.typename.fr/mikael.capelle/pwsh-conf/raw/branch/master/theme.omp.json | source

View File

@ -3,5 +3,7 @@
curl -L https://get.oh-my.fish > /tmp/omf-install.fish
fish /tmp/omf-install.fish --noninteractive --yes
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/.local/bin
# Install bobthefish and bass
fish -c "omf install bobthefish bass"
fish -c "omf install bass"