dotfiles.sh 588 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. echo '
  3. ___ _ ___ _ _
  4. | \ ___| |_| __(_) |___ ___
  5. | |) / _ \ _| _|| | / -_|_-<
  6. |___/\___/\__|_| |_|_\___/__/
  7. '
  8. #installing better prompt and some goodies
  9. echo "Installing dot files for current user"
  10. sleep 2
  11. # get the current position
  12. _cwd="$(pwd)"
  13. # go to user home
  14. cd
  15. echo "cloning https://figureslibres.io/gogs/bachir/dotfiles-server.git"
  16. git clone https://figureslibres.io/gogs/bachir/dotfiles-server.git ~/.dotfiles-server && cd ~/.dotfiles-server && ./install.sh && cd ~
  17. source ~/.bashrc
  18. # return to working directory
  19. cd "$_cwd"
  20. echo "Dot files installed"