GithubHelp home page GithubHelp logo

Comments (5)

fatso83 avatar fatso83 commented on August 26, 2024

Hi, the millis command is built by the setup.sh in the utils folder. In order to have that, you need to have Make, GCC, etc installed. If you inspected the output you should have seen this line:
https://github.com/fatso83/dotfiles/blob/master/per-host-config/setup.sh#L34

You might need to re-run the global setup as build tools might not have been available

Since I cannot know which OS you are running, this is where per-computer setups come into play, and I have added a README that says how to set that up: https://github.com/fatso83/dotfiles/tree/master/per-host-config

If you run Ubuntu 20.04 you can for instance use my setup and customize that. You can for instance see me installing the build tools here:
https://github.com/fatso83/dotfiles/blob/master/per-host-config/ubuntu/apps.local#L16-L17

Everything in this project is quite easy to pick apart, so just inspect the output and read the setup.sh files to see what is going on. Never let code you do not understand get into your machine :)

from dotfiles.

fatso83 avatar fatso83 commented on August 26, 2024

Just to be more specific, this is how you could solve it (assuming Ubuntu here):

cd per-host-settings
mkdir erkins-pc
cd erkins-pc
echo "apt get install g++ gcc make direnv" > setup.sh 
chmod +x setup.sh
echo 'erkins-pc' > ~/.dotfiles-machine
cd .. 
./setup.sh # runs your local per-machine setup

That's it. Now you just have to re-run ./setup.sh from the top directory to get your millis command

from dotfiles.

fatso83 avatar fatso83 commented on August 26, 2024

You can make the setup.sh in your per-machine directory as simple (like the previous comment) or as complex (like my Ubuntu setup) as you like. The point is that this directory contains the OS-specific setup you want, while the other folders contain everything that is common.

from dotfiles.

fatso83 avatar fatso83 commented on August 26, 2024

@erkin98 any luck?

from dotfiles.

fatso83 avatar fatso83 commented on August 26, 2024

Oh, and I forgot: the PATH is changed by . profile to include ~/bin, and that is only read once; at startup. So until you logout or restart you won't see it working unless you manually source it.

from dotfiles.

Related Issues (6)

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.