dev-custom 856 B

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