From 3bf2c32d39d721bec58dceb60a1092fab8913df0 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Tue, 12 Sep 2023 18:09:31 +0900 Subject: [PATCH] feat: update autojump config --- README.md | 4 ++-- zsh/osx.zsh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9e8b10c..a1c732e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -This is my personal dotfiles which contain config for vim, zsh, tmux, git, fzf, etc; +This is my personal dotfiles which contain config for vim, zsh, tmux, git, fzf etc; ## macOS setup Set up by using [dotbot](https://blog.einverne.info/post/2020/08/use-dotbot-dotfiles-management.html): @@ -13,7 +13,7 @@ Set up by using [dotbot](https://blog.einverne.info/post/2020/08/use-dotbot-dotf # under macOS, install applications by brew make mac -Log out and log in again, zinit will install all plugins automatically. If you tried to edit file by vi, the vim-plug will install all 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. ## Termux setup Install dependency first: diff --git a/zsh/osx.zsh b/zsh/osx.zsh index b09ba76..e9ea87a 100644 --- a/zsh/osx.zsh +++ b/zsh/osx.zsh @@ -7,3 +7,5 @@ fi if [[ -d "/usr/local/opt/gnu-getopt/bin" ]]; then PATH="/usr/local/opt/gnu-getopt/bin:$PATH" fi + +[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh \ No newline at end of file