liquidprompt 239 B

123456789101112131415161718
  1. #!/bin/bash
  2. set -o errexit -o pipefail
  3. REPO_URL="https://github.com/nojhan/liquidprompt"
  4. REPO_DIR="$HOME/.liquidprompt"
  5. if ! [[ -d "$REPO_DIR" ]]; then
  6. gimme git
  7. git clone "$REPO_URL" "$REPO_DIR"
  8. else
  9. cd "$REPO_DIR"
  10. git pull
  11. fi