diff --git a/README.md b/README.md index db997d1..7215fa8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ dotfiles config contain vim, zsh, tmux configurations. ## Overview -- using [dotbot](https://github.com/anishathalye/dotbot/) to manage dotfiles +- using [dotbot](https://github.com/anishathalye/dotbot/) to manage dotfiles, [read more](https://blog.einverne.info/post/2020/08/use-dotbot-dotfiles-management.html) - zsh, using [zinit](https://github.com/zdharma/zinit/) as plugin management - vim, using [vim-plug](https://github.com/junegunn/vim-plug) to manage vim plugins, vim-plug relate configuration is under `vim-plug_vimrc`. In Vim, `:PlugInstall` to install all vim plugins. - tmux, using [tpm](https://github.com/tmux-plugins/tpm) to manage tmux plugins, in tmux, press `Ctrl +B` + `I` to install all tmux plugins. diff --git a/config/install.conf.yml b/config/install.conf.yml index d80ad1a..5e37dad 100644 --- a/config/install.conf.yml +++ b/config/install.conf.yml @@ -31,21 +31,29 @@ ~/.vimrc: path: .vimrc ~/.ideavimrc: + if: '[ `uname` = Darwin ]' path: idea/.ideavimrc ~/.hammerspoon: if: '[ `uname` = Darwin ]' path: hammerspoon ~/.mackup.cfg: + if: '[ `uname` = Darwin ]' path: mackup/mackup.cfg ~/.Brewfile: + if: '[ `uname` = Darwin ]' path: Brewfile ~/.config/kitty/kitty.conf: + if: '[ `uname` = Darwin ]' path: kitty/kitty.conf ~/.config/kitty/base16-solarized-dark-256.conf: + if: '[ `uname` = Darwin ]' path: kitty/base16-solarized-dark-256.conf ~/.skhdrc: + if: '[ `uname` = Darwin ]' path: skhd/skhdrc ~/.yabairc: + if: '[ `uname` = Darwin ]' path: yabai/yabairc ~/.yabai_focus_display: + if: '[ `uname` = Darwin ]' path: yabai/yabai_focus_display diff --git a/zsh/env.zsh b/zsh/env.zsh index a961b4a..6499760 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -28,6 +28,10 @@ export GOKU_EDN_CONFIG_FILE="$HOME/dotfiles/karabiner/karabiner.edn" export PATH="/usr/local/sbin:$PATH" +eval "$(zoxide init zsh)" +export PATH="$HOME/.local/bin:$PATH" + + if [[ -d $HOME/.pyenv ]]; then # pyenv export PYENV_ROOT="$HOME/.pyenv"