[zsh] Move func/ directory to zsh/functions
This commit is contained in:
parent
91da2fc583
commit
7c08c5131f
53 changed files with 1 additions and 1 deletions
22
zsh/functions/darwin_init_once
Normal file
22
zsh/functions/darwin_init_once
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
autoload darwin_icloud_drive_path
|
||||
autoload darwin_configure_screenshots_directory
|
||||
autoload init_xcode
|
||||
|
||||
function darwin_init_once
|
||||
{
|
||||
# Dim dock icons of apps that have been hidden.
|
||||
defaults write com.apple.Dock showhidden -boolean yes
|
||||
killall Dock
|
||||
|
||||
darwin_configure_screenshots_directory
|
||||
|
||||
# See https://techstuffer.com/this-app-is-damaged-error-macos-sierra/
|
||||
sudo spctl --master-disable
|
||||
|
||||
init_xcode
|
||||
}
|
||||
|
||||
darwin_init_once "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue