* try to change starship character for not privileged user as dollar sign
This commit is contained in:
@ -81,6 +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
|
||||
}
|
||||
|
||||
#install_nix
|
||||
|
||||
#configure_vim
|
||||
@ -90,3 +97,4 @@ install_vim_plugins() {
|
||||
|
||||
install_pathogen
|
||||
install_vim_plugins
|
||||
change_starship_character
|
||||
|
Reference in New Issue
Block a user