File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Base on [devcontainers/base](https://github.com/devcontainers/images/tree/main)
16
16
- [ oh-my-zsh] ( https://github.com/ohmyzsh/ohmyzsh )
17
17
- [ git] ( http://git-scm.com/ ) - A distributed version control system
18
18
- [ fzf] ( https://github.com/junegunn/fzf ) - A command-line fuzzy finder
19
- - [ autojump ] ( https://github.com/wting/autojump ) - A cd command that learns - easily navigate directories from the command line
19
+ - [ zoxide ] ( https://github.com/ajeetdsouza/zoxide ) - A smarter cd command. Supports all major shells.
20
20
- [ zsh-autosuggestions] ( https://github.com/zsh-users/zsh-autosuggestions )
21
21
- [ direnv] ( https://github.com/direnv/direnv ) - unclutter your .profile, set env by dir automate
22
22
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ apt-get install -y openssh-server
32
32
echo " AcceptEnv SHELL_OS LC_*" > /etc/ssh/sshd_config.d/devcontainer.conf
33
33
34
34
# zsh utils 命令行终端
35
- apt-get install -y autojump fzf
35
+ apt-get install -y fzf
36
36
curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -o /usr/local/bin/zsh-install.sh && chmod a+x /usr/local/bin/zsh-install.sh
37
37
export ZSH=" /opt/oh-my-zsh" && export CHSH=no && zsh-install.sh
38
38
export ZSH_CUSTOM=${ZSH} /custom/plugins
@@ -121,6 +121,11 @@ wget -q https://github.com/astral-sh/uv/releases/download/${UV_VERSION}/uv-x86_6
121
121
tar -xf uv-x86_64-unknown-linux-gnu.tar.gz
122
122
mv uv-x86_64-unknown-linux-gnu/* /usr/local/bin
123
123
124
+ # Install zoxide(autojump alternative)
125
+ export ZOXIDE_VERSION=0.9.7
126
+ wget -q https://github.com/ajeetdsouza/zoxide/releases/download/v${ZOXIDE_VERSION} /zoxide_${ZOXIDE_VERSION} -1_amd64.deb
127
+ dpkg -i ./zoxide_${ZOXIDE_VERSION} -1_amd64.deb
128
+
124
129
# Clean up
125
130
mkdir -p /data/repos /data/pub /data/logs /data/etc/supervisord
126
131
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ zstyle ':omz:update' mode disabled # disable automatic updates
70
70
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
71
71
# Example format: plugins=(rails git textmate ruby lighthouse)
72
72
# Add wisely, as too many plugins slow down shell startup.
73
- plugins=(git autojump fzf extract zsh-autosuggestions kubectl-autocomplete helm-autocomplete)
73
+ plugins=(git zoxide fzf extract zsh-autosuggestions kubectl-autocomplete helm-autocomplete)
74
74
75
75
source $ZSH /oh-my-zsh.sh
76
76
You can’t perform that action at this time.
0 commit comments