feat: add sqlite storage and terminal ui

This commit is contained in:
Mohamed Boudra
2026-03-29 23:20:18 +07:00
parent e5fd61f131
commit 7d02e24d84
189 changed files with 17868 additions and 4663 deletions
@@ -0,0 +1,17 @@
typeset -g PASEO_SHELL_INTEGRATION_DIR="${${(%):-%N}:A:h}"
if [[ -n "${PASEO_ZSH_ZDOTDIR-}" ]]; then
export ZDOTDIR="${PASEO_ZSH_ZDOTDIR}"
else
unset ZDOTDIR
fi
if [[ -n "${ZDOTDIR-}" ]]; then
if [[ -f "${ZDOTDIR}/.zshenv" ]]; then
source "${ZDOTDIR}/.zshenv"
fi
elif [[ -f "${HOME}/.zshenv" ]]; then
source "${HOME}/.zshenv"
fi
source "${PASEO_SHELL_INTEGRATION_DIR}/paseo-integration.zsh"
@@ -0,0 +1,17 @@
if [[ -n "${_PASEO_ZSH_INTEGRATION_LOADED-}" ]]; then
return
fi
typeset -g _PASEO_ZSH_INTEGRATION_LOADED=1
autoload -Uz add-zsh-hook
function _paseo_precmd() {
printf '\e]2;%s\a' "${PWD/#$HOME/~}"
}
function _paseo_preexec() {
printf '\e]2;%s\a' "$1"
}
add-zsh-hook precmd _paseo_precmd
add-zsh-hook preexec _paseo_preexec