Merge branch 'master' of https://gitlab.com/sagev9000/dotfiles
This commit is contained in:
commit
cf7e99790a
4
copy.sh
4
copy.sh
|
@ -45,14 +45,14 @@ fi
|
|||
# Install required packages
|
||||
if [[ "$1" == "--install" ]]; then
|
||||
echo -n "Rust is "
|
||||
if ! where cargo; then
|
||||
if ! command -v cargo; then
|
||||
echo "not installed. Installing..."
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
else
|
||||
echo "installed."
|
||||
fi
|
||||
. "$HOME/.cargo/env"
|
||||
if where cargo; then
|
||||
if command -v cargo; then
|
||||
cargo install bat
|
||||
fi
|
||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
||||
|
|
Loading…
Reference in New Issue