Also installs stow during install
Only add composer to path if it exists
This commit is contained in:
parent
e29b47ecab
commit
78bb71d83c
@ -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
|
||||
|
@ -133,7 +133,11 @@ fi
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
export PATH=$HOME/bin:$PATH
|
||||
export PATH=$PATH:/snap/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
|
||||
|
Loading…
Reference in New Issue
Block a user