Skip to content

Commit

Permalink
Update git config
Browse files Browse the repository at this point in the history
  • Loading branch information
einverne committed Sep 21, 2023
1 parent 3bf2c32 commit 792756a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .zprofile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ eval "$(pyenv init --path)"
if [[ $(uname -m) == 'arm64' ]]; then
# Set PATH, MANPATH, etc., for Homebrew.
eval "$(/opt/homebrew/bin/brew shellenv)"

# Added by OrbStack: command-line tools and integration
source ~/.orbstack/shell/init.zsh 2>/dev/null || :
fi

# Added by OrbStack: command-line tools and integration
source ~/.orbstack/shell/init.zsh 2>/dev/null || :
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Set up by using [dotbot](https://blog.einverne.info/post/2020/08/use-dotbot-dotf
make linux
# under macOS, install applications by brew
make mac
./install -c config/macos.conf.yaml

Log out and log in again, zinit will install all plugins automatically. If you use vi to edit file at first time, the vim-plug will install all vim plugins automatically.

Expand Down
12 changes: 12 additions & 0 deletions config/hammerspoon.conf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- defaults:
link:
relink: true
force: true

- brew:
- hammerspoon

- link:
~/.hammerspoon:
if: '[ `uname` = Darwin ]'
path: hammerspoon
4 changes: 4 additions & 0 deletions config/macos.conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
~/Library/Preferences/espanso:
if: '[ `uname` = Darwin ]'
path: espanso
~/.config/karabiner.edn:
if: '[ `uname` = Darwin ]'
path: karabiner/karabiner.edn
~/.hammerspoon:
if: '[ `uname` = Darwin ]'
path: hammerspoon
Expand Down Expand Up @@ -48,6 +51,7 @@
- assh
- ripgrep
- ffmpeg
- yqrashawn/goku/goku

- tap:
- homebrew/cask-fonts
Expand Down
3 changes: 1 addition & 2 deletions karabiner/karabiner.edn
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
}
:applications {:chrome ["^com\\.google\\.Chrome$"]
:chrome-canary [ "^com\\.google\\.Chrome\\.canary$"]
:raycast ["^com\\.raycast\\.macos$"]
:chromes ["^com\\.google\\.Chrome$" "^com\\.google\\.Chrome\\.canary$"]
:ctrlnp ["^md\\.obsidian",
"^com\\.jetbrains\\.intellij",
"com\\.jetbrains\\.pycharm",
"^com\\.electron\\.lark",
"^com\\.tencent\\.xinWeChat",
"^com\\.google\\.Chrome"]
:finder ["^com\\.apple\\.finder$"]
Expand Down Expand Up @@ -460,7 +460,6 @@
[:4 :!C4]
[:b [:open "/Applications/Obsidian.app"]]
[:c [:open "/Applications/Google Chrome.app"]]
[:e [:open "/Applications/Lark.app"]]
[:w [:open "/Applications/WeChat.app"]]
[:g [:open "/Applications/GoldenDict.app"]]
[:v [:open "/Applications/Visual Studio Code.app"]]
Expand Down

0 comments on commit 792756a

Please sign in to comment.