- 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
|
git clone https://github.com/cespare/vim-toml.git
|
||||||
}
|
}
|
||||||
|
|
||||||
change_starship_character() {
|
# That is not work, because starship.toml not exists on the bootstrap stage
|
||||||
# shellcheck disable=SC2039
|
#change_starship_character() {
|
||||||
if [[ "$USER" != root ]]; then
|
# # shellcheck disable=SC2039
|
||||||
sed -i 's/#/\\$/g' "$HOME"/.config/starship.toml
|
# if [[ "$USER" != root ]]; then
|
||||||
fi
|
# sed -i 's/#/\\$/g' "$HOME"/.config/starship.toml
|
||||||
}
|
# fi
|
||||||
|
#}
|
||||||
|
|
||||||
#install_nix
|
#install_nix
|
||||||
|
|
||||||
@ -97,4 +98,4 @@ change_starship_character() {
|
|||||||
|
|
||||||
install_pathogen
|
install_pathogen
|
||||||
install_vim_plugins
|
install_vim_plugins
|
||||||
change_starship_character
|
#change_starship_character
|
||||||
|
Reference in New Issue
Block a user