diff --git a/zsh/aliases-darwin.zsh b/zsh/aliases-darwin.zsh new file mode 100644 index 0000000..135a683 --- /dev/null +++ b/zsh/aliases-darwin.zsh @@ -0,0 +1,5 @@ +if [[ "$(uname)" != "Darwin" ]]; then + return +fi + +alias list_identities='security find-identity -v -p codesigning' diff --git a/zsh/functions-darwin.zsh b/zsh/functions-darwin.zsh new file mode 100644 index 0000000..efa2e18 --- /dev/null +++ b/zsh/functions-darwin.zsh @@ -0,0 +1,8 @@ +if [[ "$(uname)" != "Darwin" ]]; then + return +fi + +function remove_helper() { + sudo launchctl unload /Library/LaunchDaemons/com.$1.helper.plist; sudo rm /Library/PrivilegedHelperTools/com.$1.helper +} +