exalted / dotfiles

You know… It’s just like http://dotfiles.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

This assumes your shell of choice is Bash.

Install dotfiles

Paste the following to a Terminal prompt:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/exalted/dotfiles/main/install)"

Usage

Whenever you feel like, run a simple command to keep your environment up-to-date:

dotfiles

How to add new software

  1. Create a script file anywhere (also in a nested directory) inside software/ (e.g., software/example.rb). (Not necessarily in Ruby, but encouraged. Shell/Python/JavaScript are also welcome.)
  2. Make sure it's executable (chmod +x software/example.rb).
  3. Make sure it has correct shebang (e.g., #!/usr/bin/env ruby for Ruby, #!/usr/bin/env bash for Bash, etc.).
  4. Make sure they're self executable, meaning they work even if you run them directly like software/example.rb rather than through bin/dotfiles.
  5. Try to write your script as less order dependent as possible related to order software.

About

You know… It’s just like http://dotfiles.github.io


Languages

Language:Ruby 47.5%Language:Shell 44.8%Language:JavaScript 7.7%