dev-custom 976 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/fish
  2. # Customize vim configuration
  3. cp --update --link ./Templates/vimrc ~/.vim/vimrc
  4. # Set bat color theme
  5. set --export --universal BAT_THEME GitHub
  6. # Configure git
  7. git config --global user.email "dev@jovian-hersemeule.eu"
  8. git config --global user.name "DricomDragon"
  9. git config --global core.editor "vim"
  10. git config --global push.followTags true
  11. git config --global diff.tool vimdiff
  12. git config --global core.excludesfile '~/.gitignore'
  13. # Git two-ways merge tool (look for whiteinge/diffconflicts in vimrc)
  14. git config --global merge.tool diffconflicts
  15. git config --global mergetool.diffconflicts.cmd 'vim -c DiffConflicts "$MERGED" "$BASE" "$LOCAL" "$REMOTE"'
  16. git config --global mergetool.diffconflicts.trustExitCode true
  17. git config --global mergetool.keepBackup false
  18. # Copy global gitignore
  19. cp --update --link ./Templates/gitignore ~/.gitignore
  20. # Create GitWork
  21. mkdir --parents ~/GitWork/DricomDragon ~/GitWork/CNI ~/GitWork/TestOrg ~/GitWork/BotFactory