12345678910111213141516171819202122232425262728 |
- #!/usr/bin/fish
- # Customize vim configuration
- cp --update --link ./Templates/vimrc ~/.vim/vimrc
- # Set bat color theme
- set --export --universal BAT_THEME GitHub
- # Configure git
- git config --global user.email "dev@jovian-hersemeule.eu"
- git config --global user.name "DricomDragon"
- git config --global core.editor "vim"
- git config --global push.followTags true
- git config --global diff.tool vimdiff
- git config --global core.excludesfile '~/.gitignore'
- # Git two-ways merge tool (look for whiteinge/diffconflicts in vimrc)
- git config --global merge.tool diffconflicts
- git config --global mergetool.diffconflicts.cmd 'vim -c DiffConflicts "$MERGED" "$BASE" "$LOCAL" "$REMOTE"'
- git config --global mergetool.diffconflicts.trustExitCode true
- git config --global mergetool.keepBackup false
- # Copy global gitignore
- cp --update --link ./Templates/gitignore ~/.gitignore
- # Create GitWork
- mkdir --parents ~/GitWork/DricomDragon ~/GitWork/CNI ~/GitWork/TestOrg ~/GitWork/BotFactory
|