mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-23 10:59:57 +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
|
#!/bin/sh
|
||||||
|
|
||||||
if [ ! -x "$(which zsh)" ]; then
|
if [ ! -x "$(which zsh)" ]; then
|
||||||
|
echo "zsh not found"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm ~/.zshrc
|
rm ~/.zshrc
|
||||||
ln -s ~/.dotfiles/zshrc ~/.zshrc
|
ln -s ~/.dotfiles/zshrc ~/.zshrc
|
||||||
ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf
|
ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf
|
||||||
|
ln -s ~/.dotfiles/gitconfig ~/.gitconfig
|
||||||
mkdir ~/.dotfiles/this-machine
|
mkdir ~/.dotfiles/this-machine
|
||||||
touch ~/.dotfiles/this-machine/zsh
|
touch ~/.dotfiles/this-machine/zsh
|
||||||
touch ~/.dotfiles/this-machine/tmux.conf
|
touch ~/.dotfiles/this-machine/tmux.conf
|
||||||
|
|
||||||
sudo chsh -s "$(which zsh)" $USER
|
sudo chsh -s "$(which zsh)" $USER
|
||||||
|
|
||||||
# If private repo is available, add ssh config + hosts
|
# If private repo is available, add ssh config + hosts
|
||||||
@ -23,6 +26,5 @@ fi
|
|||||||
# Remove old bash files
|
# Remove old bash files
|
||||||
rm ~/.bashrc
|
rm ~/.bashrc
|
||||||
rm ~/.bash_logout
|
rm ~/.bash_logout
|
||||||
rm ~/.bash_history
|
|
||||||
|
|
||||||
zsh
|
zsh
|
||||||
|
Loading…
Reference in New Issue
Block a user