Browse Source

Update git config

master
Ein Verne 1 year ago
parent
commit
792756a548
No known key found for this signature in database
GPG Key ID: 926634D64ACAD792
  1. 2
      .zprofile
  2. 1
      README.md
  3. 12
      config/hammerspoon.conf.yml
  4. 4
      config/macos.conf.yml
  5. 3
      karabiner/karabiner.edn

2
.zprofile

@ -6,7 +6,7 @@ eval "$(pyenv init --path)"
if [[ $(uname -m) == 'arm64' ]]; then if [[ $(uname -m) == 'arm64' ]]; then
# Set PATH, MANPATH, etc., for Homebrew. # Set PATH, MANPATH, etc., for Homebrew.
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
fi
# Added by OrbStack: command-line tools and integration # Added by OrbStack: command-line tools and integration
source ~/.orbstack/shell/init.zsh 2>/dev/null || : source ~/.orbstack/shell/init.zsh 2>/dev/null || :
fi

1
README.md

@ -12,6 +12,7 @@ Set up by using [dotbot](https://blog.einverne.info/post/2020/08/use-dotbot-dotf
make linux make linux
# under macOS, install applications by brew # under macOS, install applications by brew
make mac 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. 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.

12
config/hammerspoon.conf.yml

@ -0,0 +1,12 @@
- defaults:
link:
relink: true
force: true
- brew:
- hammerspoon
- link:
~/.hammerspoon:
if: '[ `uname` = Darwin ]'
path: hammerspoon

4
config/macos.conf.yml

@ -15,6 +15,9 @@
~/Library/Preferences/espanso: ~/Library/Preferences/espanso:
if: '[ `uname` = Darwin ]' if: '[ `uname` = Darwin ]'
path: espanso path: espanso
~/.config/karabiner.edn:
if: '[ `uname` = Darwin ]'
path: karabiner/karabiner.edn
~/.hammerspoon: ~/.hammerspoon:
if: '[ `uname` = Darwin ]' if: '[ `uname` = Darwin ]'
path: hammerspoon path: hammerspoon
@ -48,6 +51,7 @@
- assh - assh
- ripgrep - ripgrep
- ffmpeg - ffmpeg
- yqrashawn/goku/goku
- tap: - tap:
- homebrew/cask-fonts - homebrew/cask-fonts

3
karabiner/karabiner.edn

@ -46,11 +46,11 @@
} }
:applications {:chrome ["^com\\.google\\.Chrome$"] :applications {:chrome ["^com\\.google\\.Chrome$"]
:chrome-canary [ "^com\\.google\\.Chrome\\.canary$"] :chrome-canary [ "^com\\.google\\.Chrome\\.canary$"]
:raycast ["^com\\.raycast\\.macos$"]
:chromes ["^com\\.google\\.Chrome$" "^com\\.google\\.Chrome\\.canary$"] :chromes ["^com\\.google\\.Chrome$" "^com\\.google\\.Chrome\\.canary$"]
:ctrlnp ["^md\\.obsidian", :ctrlnp ["^md\\.obsidian",
"^com\\.jetbrains\\.intellij", "^com\\.jetbrains\\.intellij",
"com\\.jetbrains\\.pycharm", "com\\.jetbrains\\.pycharm",
"^com\\.electron\\.lark",
"^com\\.tencent\\.xinWeChat", "^com\\.tencent\\.xinWeChat",
"^com\\.google\\.Chrome"] "^com\\.google\\.Chrome"]
:finder ["^com\\.apple\\.finder$"] :finder ["^com\\.apple\\.finder$"]
@ -460,7 +460,6 @@
[:4 :!C4] [:4 :!C4]
[:b [:open "/Applications/Obsidian.app"]] [:b [:open "/Applications/Obsidian.app"]]
[:c [:open "/Applications/Google Chrome.app"]] [:c [:open "/Applications/Google Chrome.app"]]
[:e [:open "/Applications/Lark.app"]]
[:w [:open "/Applications/WeChat.app"]] [:w [:open "/Applications/WeChat.app"]]
[:g [:open "/Applications/GoldenDict.app"]] [:g [:open "/Applications/GoldenDict.app"]]
[:v [:open "/Applications/Visual Studio Code.app"]] [:v [:open "/Applications/Visual Studio Code.app"]]

Loading…
Cancel
Save