[zsh] Remove all the ShellLog calls -- just too slow :(

This commit is contained in:
Eryn Wells 2022-01-22 09:39:51 -08:00
parent a13ecc9e4d
commit 1c80ab1de4
16 changed files with 0 additions and 38 deletions

View file

@ -7,14 +7,12 @@ function darwin_configure_screenshots_directory
{
icloud=`darwin_icloud_drive_path`
if [[ ! -d "$icloud" ]]; then
ShellLog -l error "iCloud directory doesn't exist: $icloud"
return 1
fi
# Put screenshots in iCloud Drive, in a directory according to hostname
local name=`hostname -s | tr A-Z a-z`
local screenshots_dir="$icloud/Screenshots/$name"
ShellLog "Setting screenshot directory: $screenshots_dir"
mkdir -p "$screenshots_dir"
defaults write com.apple.screencapture screenshots_diration "$screenshots_dir"