Add script to set up environment for awgo
This commit is contained in:
parent
cc261742fc
commit
b816c3b811
11
set_alfred_env.sh
Executable file
11
set_alfred_env.sh
Executable file
@ -0,0 +1,11 @@
|
||||
getvar() {
|
||||
local v="${1}"
|
||||
/usr/libexec/PlistBuddy -c "Print :${v}" info.plist
|
||||
}
|
||||
|
||||
export alfred_workflow_bundleid="$(getvar "bundleid")"
|
||||
export alfred_workflow_version="$(getvar "version")"
|
||||
export alfred_workflow_name="$(getvar "name")"
|
||||
export alfred_workflow_data="$HOME/Library/Application Support/Alfred 3/Workflow Data/$alfred_workflow_bundleid"
|
||||
export alfred_workflow_cache="$HOME/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/$alfred_workflow_bundleid"
|
||||
export alfred_debug="1"
|
Loading…
Reference in New Issue
Block a user