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

12 lines
401 B
Bash
Raw Normal View History

2024-06-10 15:40:34 -05:00
# alias zbench='for i in {1..10}; do /usr/bin/time zsh -lic exit; done'
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
}