Coder Social home page Coder Social logo

Clone dotfiles recursively about gitpod HOT 2 OPEN

Julian avatar Julian commented on June 8, 2024
Clone dotfiles recursively

from gitpod.

Comments (2)

Julian avatar Julian commented on June 8, 2024 1

Hey! Thanks @axonasif for the follow-up!

I thought of that, and will definitely go with it if need be -- I figured I'd file this anyhow since I couldn't think of a disadvantage to doing this always (i.e. adding --recursive here I think, especially since I think you're already defaulting to shallow clones of submodules even though you're not cloning them, if I follow the code there right)

But of course if there is one somehow I'm not at all upset if you close this! And thanks again for the info.

from gitpod.

axonasif avatar axonasif commented on June 8, 2024

Hi @Julian, you have full control after your initial dotfiles repo is cloned.

I suggest that you add an additional file called install.sh in your main dotfiles repo. In it, you can customize the installation. (or update your existing bootstrap.sh)

Example install.sh for your use case:

#!/usr/bin/env bash

git submodule update --init --recursive
./dot install

Make sure to run chmod 755 install.sh before committing.

https://www.gitpod.io/docs/configure/user-settings/dotfiles contains some information that you might find useful.

from gitpod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.