From c7a686fd0546fa9657ba38da08fbf7e8db3a70c0 Mon Sep 17 00:00:00 2001 From: dimti Date: Tue, 18 Apr 2023 09:15:24 +0300 Subject: [PATCH] - turn off not worked algorithm with sed of change starship character for not privileged user - then moved to ansible posts_tasks of system_users role --- .config/yadm/bootstrap | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 5a149ca..3c06846 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -81,12 +81,13 @@ install_vim_plugins() { git clone https://github.com/cespare/vim-toml.git } -change_starship_character() { - # shellcheck disable=SC2039 - if [[ "$USER" != root ]]; then - sed -i 's/#/\\$/g' "$HOME"/.config/starship.toml - fi -} +# That is not work, because starship.toml not exists on the bootstrap stage +#change_starship_character() { +# # shellcheck disable=SC2039 +# if [[ "$USER" != root ]]; then +# sed -i 's/#/\\$/g' "$HOME"/.config/starship.toml +# fi +#} #install_nix @@ -97,4 +98,4 @@ change_starship_character() { install_pathogen install_vim_plugins -change_starship_character +#change_starship_character