Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4/5/2024 #39

Merged
merged 1 commit into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .20_git.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Don't use the git from macOS, use the Homebrew version instead
if [[ -x "$(command -v brew)" && ! -f "$(brew --prefix)/bin/git" ]]; then
brew install git
brew link --overwrite git
fi

if [[ ! -x "$(command -v git)" ]]; then
Expand Down Expand Up @@ -35,6 +36,7 @@ __git_funcs() {
done

gempty() {
git reset
git commit --allow-empty --message='Empty commit'
}

Expand Down
5 changes: 4 additions & 1 deletion settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if [[ "${OSTYPE:-}" == "darwin"* ]]; then
defaults write .GlobalPreferences com.apple.sound.beep.feedback -bool true

# ***** Settings > Focus *****
# TODO: remove DND schedules / disable DND

# ***** Settings > Screen Time *****

Expand Down Expand Up @@ -78,7 +79,7 @@ if [[ "${OSTYPE:-}" == "darwin"* ]]; then
# Magnification: off
defaults write com.apple.dock magnification -bool false
# Position on screen: bottom
defaults write com.apple.dock orientation -string bottom
defaults write com.apple.dock orientation -string "bottom"
# Automatically hide and show the dock: false
defaults write com.apple.dock autohide -bool false
# Show indicators for open applications: true
Expand Down Expand Up @@ -131,6 +132,8 @@ if [[ "${OSTYPE:-}" == "darwin"* ]]; then
# Turn off text replacements (requires restart?)
defaults write .GlobalPreferences WebAutomaticTextReplacementEnabled -bool false
# TODO: keyboard brightness
# macOS Sonoma v14 "redesigned insertion point"
sudo defaults write /Library/Preferences/FeatureFlags/Domain/UIKit.plist redesigned_text_cursor -dict-add Enabled -bool YES

# ***** Settings > Mouse *****
defaults write .GlobalPreferences com.apple.mouse.scaling -1
Expand Down
Loading