Initial commit

This commit is contained in:
z0x 2025-07-20 12:57:27 -04:00
commit 5f78d74eca
178 changed files with 1952 additions and 0 deletions

23
.config/zsh/.zshrc Executable file
View file

@ -0,0 +1,23 @@
HISTSIZE=2000
SAVEHIST=2000
HIST_STAMPS="yyyy-mm-dd"
alias sudo='env PATH="${PATH}" doas'
alias npm='env PATH="${PATH}" bun'
eval "$(starship init zsh)"
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
builtin cd -- "$cwd"
fi
rm -f -- "$tmp"
}
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh