remove zsh support

This commit is contained in:
2026-06-20 13:54:39 +05:30
parent 85dabd42f1
commit 6415d1d65f
9 changed files with 14 additions and 35 deletions

View File

@@ -66,14 +66,8 @@ configure_shell() {
IFS=' ' read -ra target_files <<< "$(get_shell_configs)"
for config_file in "${target_files[@]}"; do
local shell_name="bash"
if [[ "$config_file" == *".zshrc" ]]; then
shell_name="zsh"
fi
log_info "Adding zoxide initialization to $config_file..."
local content
content="eval \"\$(zoxide init --cmd cd $shell_name)\""
local content="eval \"\$(zoxide init --cmd cd bash)\""
inject_block "$config_file" "zoxide init" "$content"