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

move stuff around to make just dotfiles work on linux

This commit is contained in:
2020-05-13 11:19:39 -04:00
parent bc2ee5ceec
commit 53ff9d8ecb
11 changed files with 131 additions and 412 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env bash
set -e
echo "👋 Deep breaths, everything will (probably) be fine!"
# Set up symbolic links for ZSH and Git pointing to this cloned repo
ln -s $HOME/.dotfiles/zsh/.zshrc $HOME/.zshrc
ln -s $HOME/.dotfiles/git/.gitconfig $HOME/.gitconfig
ln -s $HOME/.dotfiles/git/.gitignore_global $HOME/.gitignore_global
# Get Oh My ZSH up and running
if [ ! -e ~/.oh-my-zsh ]; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
fi
# Make ZSH the default shell environment (maybe unnecessary on Catalina?)
chsh -s $(which zsh)
if [ "$(uname)" == "Darwin" ]; then
# shellcheck disable=SC1091
source ./macos/macos.sh
else
echo ""
echo "This isn't a Mac, so we're all done here!"
echo "Logout/restart now for the full effects."
exit 0
fi