mac changes

This commit is contained in:
Vasili Svirydau
2021-04-28 23:47:04 -07:00
parent cf075eb3cc
commit 6b2245dd16
6 changed files with 31 additions and 8 deletions

View File

@@ -1,9 +1,5 @@
#!/bin/bash
if ! test -x /usr/local/bin/starship; then
if ! command -v /usr/local/bin/starship > /dev/null; then
curl -fsSL https://starship.rs/install.sh | bash
fi
if ! grep starship ~/.bashrc > /dev/null; then
echo "eval \"\$(starship init bash)\"" >> ~/.bashrc
fi