chore(zsh): prepare for migrate
This commit is contained in:
3 files changed
+19
-6
No files matched your search
+13
-5
@@ -62,6 +62,8 @@ alias 9='cd -9'
|
|||||||
|
|
||||||
export PATH=$PATH:~/projects/system/dotfiles/scripts/
|
export PATH=$PATH:~/projects/system/dotfiles/scripts/
|
||||||
|
|
||||||
|
VIRTUAL_ENV_DISABLE_PROMPT=true
|
||||||
|
|
||||||
# Yazi wrapper
|
# Yazi wrapper
|
||||||
function y() {
|
function y() {
|
||||||
local tmp cwd; tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
|
local tmp cwd; tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
|
||||||
@@ -71,10 +73,16 @@ function y() {
|
|||||||
command rm -f -- "$tmp"
|
command rm -f -- "$tmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
source ~/.config/zsh/theme.zsh
|
# Zoxide
|
||||||
eval "$(zoxide init --cmd j zsh)"
|
eval "$(zoxide init --cmd j zsh)"
|
||||||
|
|
||||||
# for file in ~/projects/system/dotfiles/system/completions/*
|
# Theme
|
||||||
# do
|
source ~/.config/zsh/theme.zsh
|
||||||
# source $file
|
|
||||||
# done
|
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
|
||||||
@@ -6,7 +6,7 @@ local vcs_info=''
|
|||||||
local venv_prompt=''
|
local venv_prompt=''
|
||||||
|
|
||||||
precmd () {
|
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"
|
||||||
|
}
|
||||||
Reference in new issue
Block a user