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

13 lines
427 B
Bash

if (( $+commands[time] )); then
alias zbench='for i in {1..10}; do time zsh -lic exit; done'
fi
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'
function dots-add {
chezmoi add $(chezmoi status | grep '^MM' | awk -v home="$HOME/" '{print home$2}' | fzf -m)
}