The user has the ability to change where Bunch stores its files, so you need to be able to follow that preference. You can retrieve the location of the current folder using:
defaults read com.brettterpstra.bunch configDir
The command takes a second to run, which can put an annoying delay in script execution, but I don't currently have a better solution.
The user has the ability to change where Bunch stores its files, so you need to be able to follow that preference. You can retrieve the location of the current folder using:
The command takes a second to run, which can put an annoying delay in script execution, but I don't currently have a better solution.