- 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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user