1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2026-06-14 05:25:26 -04:00

what would shellcheck do

This commit is contained in:
2020-05-13 12:33:00 -04:00
parent 875fe20c06
commit 3c46bb9f05
3 changed files with 9 additions and 11 deletions
+5 -4
View File
@@ -5,9 +5,9 @@ set -e
echo "👋 Deep breaths, everything will (probably) be fine!"
# Set up symbolic links for ZSH and Git pointing to this cloned repo
ln -sf $HOME/.dotfiles/zsh/.zshrc $HOME/.zshrc
ln -sf $HOME/.dotfiles/git/.gitconfig $HOME/.gitconfig
ln -sf $HOME/.dotfiles/git/.gitignore_global $HOME/.gitignore_global
ln -sf "$HOME"/.dotfiles/zsh/.zshrc "$HOME"/.zshrc
ln -sf "$HOME"/.dotfiles/git/.gitconfig "$HOME"/.gitconfig
ln -sf "$HOME"/.dotfiles/git/.gitignore_global "$HOME"/.gitignore_global
# Get Oh My ZSH up and running
if [ ! -e ~/.oh-my-zsh ]; then
@@ -15,7 +15,8 @@ if [ ! -e ~/.oh-my-zsh ]; then
fi
# Make ZSH the default shell environment (maybe unnecessary on Catalina?)
chsh -s $(which zsh)
# shellcheck disable=SC2230
chsh -s "$(which zsh)"
if [ "$(uname)" == "Darwin" ]; then
# shellcheck disable=SC1091