This commit is contained in:
2025-09-22 20:54:32 -04:00
parent 2702b9f736
commit 8b82957b39
5 changed files with 43 additions and 4 deletions

View File

@@ -6,8 +6,11 @@ export VISUAL=nvim
export TERM="xterm-256color"
export COLORTERM=truecolor
export XDG_CONFIG_HOME="$HOME/.config"
export PATH=$HOME/.local/bin:$PATH
export DO="$HOME/do"
alias ls='ls --color=auto'
alias ll='ls -lah'
alias gg='lazygit'
@@ -18,6 +21,16 @@ take() {
cd $1
}
function show_todo_in_git_repo() {
if git rev-parse --is-inside-work-tree &>/dev/null; then
[ -f TODO ] && clear && cat TODO
fi
}
autoload -Uz add-zsh-hook
add-zsh-hook chpwd show_todo_in_git_repo
show_todo_in_git_repo
[ -f "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh" ] && source "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh"
plug "zsh-users/zsh-autosuggestions"
plug "zap-zsh/supercharge"