Browse Source

- 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

master
dimti 1 year ago
parent
commit
c7a686fd05
  1. 15
      .config/yadm/bootstrap

15
.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
Loading…
Cancel
Save