GithubHelp home page GithubHelp logo

hilprl / dotfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ambrevar/dotfiles

0.0 0.0 0.0 2.81 MB

[MOVED TO GITLAB]

Home Page: https://gitlab.com/ambrevar/dotfiles

Lua 2.12% Shell 25.23% Emacs Lisp 63.24% Awk 0.19% Python 1.18% Scheme 7.81% Common Lisp 0.23%

dotfiles's Introduction

.dotfiles

Overview

I use of Emacs for almost everything, including my window manager (EXWM). See my Emacs pro-tips.

As such, the more-or-less advanced configurations of my former favourite Unix programs are gone (Awesome, cmus, fish, fzf, Mutt, newsbeuter, ranger, urxvt, zathura, zsh). You can search for them before the git commit README: The Big Emacs Shift.

Setup

For the list of programs I currently use, see the .pkglists/ folder.

The homeinit script fully bootstraps a user profile with required files, folders, symlinks applications.

The homeclean script removes trash files, caches and warns if critically private data is found (e.g. PGP keys).

The homesync script updates the package lists, prints the status of all known projects and optionally pushes the unmerged changes upstream.

As for managing a dotfiles repository, there are various approaches.

Direct versioning

Git makes it possible to use your home folder as a git repo, thus versioning all files directly.

cd
git init
git remote add origin <repo>
git fetch
git checkout master

GNU Stow

GNU Stow lets you symlink a project's files to an arbitrary folder.

The simplest setup would be to clone the dotfiles to, say, ~/dotfiles then run

cd ~/dotfiles
stow .

This has several advantages over direct versioning:

  • Subfolders in home are not subject to being included into the dotfiles git repository. This is especially relevant for projects under a version control system other than git.

  • No need for a .gitignore.

  • Simplified file control (add/remove/etc.).

  • You can fine-tune which program configuration to synchronize on a per-system basis.

  • You can manage several configurations for the same programs.

dotfiles's People

Contributors

ambrevar avatar

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.