split off dotfile related zsh config
This commit is contained in:
parent
5cba9ce420
commit
169356954e
1 changed files with 10 additions and 0 deletions
10
home/private_dot_config/zsh/conf.d/dots.zsh
Normal file
10
home/private_dot_config/zsh/conf.d/dots.zsh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# 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'
|
||||||
|
function dots-add {
|
||||||
|
chezmoi add $(chezmoi status | grep '^MM' | awk '{print $2}' | fzf -m)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue