Don't ask to clone dotfiles if already done
This commit is contained in:
parent
29da5e09bc
commit
62bf218d99
|
@ -155,12 +155,14 @@ clone_dotfiles() {
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_dotfiles() {
|
configure_dotfiles() {
|
||||||
|
if [ ! -d $HOME/.config/dotfiles ]; then
|
||||||
yes_no_ask "do you wish to configure the dotfiles ?"
|
yes_no_ask "do you wish to configure the dotfiles ?"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clone_dotfiles
|
clone_dotfiles
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_shell() {
|
configure_shell() {
|
||||||
|
|
Loading…
Reference in New Issue