dotfiles/home/private_dot_config/zsh/conf.d/dots.zsh

14 lines
427 B
Bash
Raw Normal View History

2024-06-12 14:15:19 -05:00
if (( $+commands[time] )); then
alias zbench='for i in {1..10}; do time zsh -lic exit; done'
fi
2024-06-10 15:40:34 -05:00
alias zdot='cd ${ZDOTDIR:-~}'
alias dots='cd ${DOTFILES_DIR:-~/.dotfiles}'
alias dots-drop='chezmoi forget --interactive $(chezmoi managed -p absolute | fzf -m)'
# alias dots-add='chezmoi re-add --interactive'
2024-06-11 12:19:33 -05:00
2024-06-10 15:40:34 -05:00
function dots-add {
2024-06-11 11:57:45 -05:00
chezmoi add $(chezmoi status | grep '^MM' | awk -v home="$HOME/" '{print home$2}' | fzf -m)
2024-06-10 15:40:34 -05:00
}