mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-12-28 01:11:54 +01:00
add gitconfig to repo
This commit is contained in:
parent
882be853a7
commit
d78a4f114c
9
gitconfig
Normal file
9
gitconfig
Normal file
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user