Add zsh and Fira Code to install pacman files

Install oh-my-zsh as part of install script
This commit is contained in:
Evie Litherland-Smith 2023-01-13 09:56:36 +00:00
parent 667572107d
commit be36e4acb3
2 changed files with 7 additions and 1 deletions

View file

@ -56,7 +56,8 @@ PACKER_REPO="https://github.com/wbthomason/packer.nvim"
PACKER_DIR="$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim" PACKER_DIR="$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim"
git_clone_if_missing $PACKER_REPO $PACKER_DIR git_clone_if_missing $PACKER_REPO $PACKER_DIR
# oh-my-zsh links (if available) # oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
OHMYZSH_DIR="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}" OHMYZSH_DIR="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"
if [ -d $OHMYZSH_DIR ] if [ -d $OHMYZSH_DIR ]
then then
@ -67,3 +68,6 @@ then
# aliases # aliases
create_symlink $OHMYZSH_DIR "./aliases.zsh" create_symlink $OHMYZSH_DIR "./aliases.zsh"
fi fi
# Set up git editor if missing
grep "editor" "$HOME/.gitconfig" > /dev/null || git config --global core.editor "nvim"

View file

@ -18,3 +18,5 @@ wget
python-black python-black
python-isort python-isort
pyright pyright
ttf-fira-code
zsh