[zsh] Convert all shell-log calls to ShellLog

This commit is contained in:
Eryn Wells 2022-01-22 09:11:53 -08:00
parent 0894a4957e
commit a13ecc9e4d
17 changed files with 28 additions and 28 deletions

View file

@ -7,14 +7,14 @@ function darwin_configure_screenshots_directory
{
icloud=`darwin_icloud_drive_path`
if [[ ! -d "$icloud" ]]; then
shell-log -l error "iCloud directory doesn't exist: $icloud"
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"
shell-log "Setting screenshot directory: $screenshots_dir"
ShellLog "Setting screenshot directory: $screenshots_dir"
mkdir -p "$screenshots_dir"
defaults write com.apple.screencapture screenshots_diration "$screenshots_dir"