Open ~/.zshrc in your favorite editor and add the following content to the bottom.
function parse_git_branch() {| #!/bin/bash | |
| # Gist: https://gist.github.com/mfnalex/41f6eab4baf032206228035d784ab624 | |
| # Creates the directory layout for a Proxmox Backup Server Datastore | |
| # split up into two directories for people who have to use filesystems | |
| # not allowing more than 65k directory entries. | |
| # Steps: | |
| # 1. Create new Datastore in Proxmox Backup Server GUI |
| package com.comphenix.example; | |
| import java.lang.reflect.Field; | |
| import java.lang.reflect.Method; | |
| import java.util.ArrayList; | |
| import java.util.EnumMap; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| import org.bukkit.event.Cancellable; |