dots-add better and better
This commit is contained in:
parent
e33566ffad
commit
44d128df4a
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ 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)
|
||||
chezmoi add $(chezmoi status | grep '^MM' | awk -v home="$HOME/" '{print home$2}' | fzf -m)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue