Also installs stow during install

Only add composer to path if it exists
This commit is contained in:
Tim 2022-08-03 18:36:32 +02:00
parent e29b47ecab
commit 78bb71d83c
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
!/bin/bash
sudo apt install zsh wget curl
sudo apt install zsh wget curl stow
cd "$(dirname "$0")"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k

View File

@ -133,7 +133,11 @@ fi
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/bin:$PATH
export PATH=$PATH:/snap/bin
export PATH=$PATH:$HOME/.composer/vendor/bin
if command -v composer &> /dev/null
then
export PATH=$PATH:$HOME/.composer/vendor/bin
export PATH=$PATH:$(composer global config bin-dir --absolute --quiet)
fi
export PATH=$PATH:$HOME/.symfony/bin
# Go