Skip to content

Commit

Permalink
manages oh-my-zsh differently, adds rectangle stuff to .macos
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Feb 27, 2024
1 parent e1ea4f5 commit 9f7364f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .chezmoiexternal.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[".oh-my-zsh"]
type = "git-repo"
url = "https://github.com/ohmyzsh/ohmyzsh"
type = "archive"
url = "https://github.com/ohmyzsh/ohmyzsh/archive/master.tar.gz"
stripComponents = 1
refreshPeriod = "168h"

[".oh-my-zsh/custom/plugins/zsh-syntax-highlighting"]
Expand Down
6 changes: 6 additions & 0 deletions .macos
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ defaults write com.apple.dock mineffect -string "scale"

# Don’t animate opening applications from the Dock
defaults write com.apple.dock launchanim -bool false

# Rectangle specific
# https://github.com/rxhanson/Rectangle/blob/main/TerminalCommands.md

defaults write com.knollsoft.Rectangle almostMaximizeHeight -float 0.95
defaults write com.knollsoft.Rectangle almostMaximizeWidth -float 0.95
2 changes: 1 addition & 1 deletion dot_Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ brew "rust-analyzer"
brew "rustup-init"
brew "automake"
brew "cmake"
brew "luarocks"
brew "stylua"

# ! update zsh
brew "zsh"
Expand Down
4 changes: 2 additions & 2 deletions dot_config/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ return {
}),
},
{
key = "x",
key = "§",
mods = "SUPER",
action = wezterm.action.PaneSelect({}),
action = wezterm.action.PaneSelect({ alphabet = "12345689" }),
},
{
key = "d",
Expand Down
1 change: 1 addition & 0 deletions dot_oh-my-zsh/custom/aliases.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias cz="chezmoi"

0 comments on commit 9f7364f

Please sign in to comment.