diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..1d0fad6 --- /dev/null +++ b/gitconfig @@ -0,0 +1,9 @@ +# This is Git's per-user configuration file. +[user] +# Please adapt and uncomment the following lines: +name = Jan Jastrow +email = mail@jastrow.me +[core] + fsmonitor = true +[branch] + sort = -committerdate diff --git a/install.sh b/install.sh index 2934062..79c2073 100755 --- a/install.sh +++ b/install.sh @@ -1,15 +1,18 @@ #!/bin/sh if [ ! -x "$(which zsh)" ]; then + echo "zsh not found" exit fi rm ~/.zshrc ln -s ~/.dotfiles/zshrc ~/.zshrc ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf +ln -s ~/.dotfiles/gitconfig ~/.gitconfig mkdir ~/.dotfiles/this-machine touch ~/.dotfiles/this-machine/zsh touch ~/.dotfiles/this-machine/tmux.conf + sudo chsh -s "$(which zsh)" $USER # If private repo is available, add ssh config + hosts @@ -23,6 +26,5 @@ fi # Remove old bash files rm ~/.bashrc rm ~/.bash_logout -rm ~/.bash_history zsh