This commit is contained in:
parent
1b8329424d
commit
aa420ff1ed
1 changed files with 2 additions and 2 deletions
4
setup.sh
4
setup.sh
|
@ -2,13 +2,13 @@
|
|||
|
||||
export PATH=$PATH:$HOME/.local/bin
|
||||
|
||||
current_arch=$(uname -m)
|
||||
current_arch="$(uname -m)"
|
||||
|
||||
# starship
|
||||
command -v starship &> /dev/null || mkdir -p $HOME/.local/bin && curl -sS https://starship.rs/install.sh | sudo -E sh -s -- --yes --bin-dir $HOME/.local/bin
|
||||
|
||||
# pfetch
|
||||
command -v pfetch &> /dev/null || curl -L https://github.com/Gobidev/pfetch-rs/releases/latest/download/pfetch-linux-gnu-${current_arch}.tar.gz | sudo tar -xvz -C $HOME/.local/bin
|
||||
command -v pfetch &> /dev/null || curl -L "https://github.com/Gobidev/pfetch-rs/releases/latest/download/pfetch-linux-gnu-$(uname -m).tar.gz" | sudo tar -xvz -C $HOME/.local/bin
|
||||
|
||||
# Go
|
||||
case $current_arch in
|
||||
|
|
Reference in a new issue