chore(zsh): prepare for migrate

This commit is contained in:
janishutz committed 2026-10-08 15:26:09 +02:00
1 parent d3279487c8
commit 57a71c35ce
3 files changed
+19 -6

No files matched your search

+13 -5
View File
@@ -62,6 +62,8 @@ alias 9='cd -9'
export PATH=$PATH:~/projects/system/dotfiles/scripts/
VIRTUAL_ENV_DISABLE_PROMPT=true
# Yazi wrapper
function y() {
local tmp cwd; tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
@@ -71,10 +73,16 @@ function y() {
command rm -f -- "$tmp"
}
source ~/.config/zsh/theme.zsh
# Zoxide
eval "$(zoxide init --cmd j zsh)"
# for file in ~/projects/system/dotfiles/system/completions/*
# do
# source $file
# done
# Theme
source ~/.config/zsh/theme.zsh
for file in ~/projects/system/dotfiles/system/zsh-completions/*
do
source $file
done
ZSH_AUTOSUGGEST_STRATEGY=(completion history)
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
+1 -1
View File
@@ -6,7 +6,7 @@ local vcs_info=''
local venv_prompt=''
precmd () {
vcs_info='git status'
vcs_info="git status"
}
@@ -0,0 +1,5 @@
#compdef _dev-containers dev-containers
function _dev-containers {
_arguments -C "1: :(base compilerdesign jupyter node php postgres python rust torch-rocm vue webserver rm help shell)" "*::arg:->args"
}