Last active
May 23, 2020 20:28
-
-
Save OmegaRogue/6fd027f2ca88aa4f9d984ea4c779e9b4 to your computer and use it in GitHub Desktop.
Dotfile follow script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
which git >/dev/null && ([[ -d ~/dotfiles ]] && \ | |
(echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull && ./install >/dev/null) || \ | |
(echo "Installing dotfiles on %h ..." && git clone https://github.com/OmegaRogue/dotfiles-local -b pi && ./dotfiles/install >/dev/null)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
which git >/dev/null && ([[ -d ~/dotfiles ]] && \ | |
(echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull && ./install >/dev/null) || \ | |
(echo "Installing dotfiles on %h ..." && git clone https://github.com/OmegaRogue/dotfiles && ./dotfiles/install >/dev/null)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment