Browse Source

* try to change starship character for not privileged user as dollar sign

master
dimti 2 years ago
parent
commit
99939a3026
  1. 8
      .config/yadm/bootstrap

8
.config/yadm/bootstrap

@ -81,6 +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() {
# shellcheck disable=SC2039
if [[ "$USER" != root ]]; then
sed -i 's/#/\\$/g' "$HOME"/.config/starship.toml
fi
}
#install_nix #install_nix
#configure_vim #configure_vim
@ -90,3 +97,4 @@ install_vim_plugins() {
install_pathogen install_pathogen
install_vim_plugins install_vim_plugins
change_starship_character
Loading…
Cancel
Save