diff --git a/.config/xonsh/rc.d/rc.py b/.config/xonsh/rc.d/rc.py index 4acd097..4a25b3d 100644 --- a/.config/xonsh/rc.d/rc.py +++ b/.config/xonsh/rc.d/rc.py @@ -5,7 +5,7 @@ # |____/ |_| # # My xonsh config written in python as opposed to using the standard .xonshrc format. - +import subprocess from pathlib import Path from xonsh.xontribs import xontribs_load @@ -25,7 +25,14 @@ xenv['BASH_COMPLETIONS']='/usr/share/bash-completion/bash_completion' xenv['XONSH_COLOR_STYLE'] = 'one-dark' ### STARSHIP PROMPT ### -xontribs_load(['prompt_starship']) +# xontribs_load(['prompt_starship']) + +starship_init = subprocess.check_output( + ["starship", "init", "xonsh"], + text=True, +) + +__xonsh__.execer.exec(starship_init) ### RANDOM COLOR SCRIPT ### __xonsh__.subproc_uncaptured(['colorscript', 'random'])