GithubHelp home page GithubHelp logo

eduarbo / dotfiles.deprecated Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 5.0 84.3 MB

My awesome dotfiles

Shell 30.10% Emacs Lisp 16.62% Lua 3.99% Vim Script 2.86% Roff 0.55% Ruby 1.55% HTML 8.91% Python 2.31% YASnippet 29.93% JavaScript 3.19%

dotfiles.deprecated's Introduction

🚨 DEPRECATED 🚨

These dotfiles are no longer supported, I have moved everything to a new repo for a fresh start.


Mein dotfiles

A tidy $HOME is a tidy mind.

Neofetch - Aug-2018 Screenshot of macOS High Sierra

Workflow - Aug-2018 Screenshot of macOS High Sierra

These are my dotfiles, designed primarily for macOS and Fedora, heavily inspired by hlissner/dotfiles. They are my specific breed of madness, split into 2-level topics (e.g. shell/zsh) that strive for minimum $HOME presence (adhering to XDG standards where possible).

Quick start

bash <(curl -s https://raw.githubusercontent.com/eduarbo/dotfiles/master/bootstrap.sh)

What does it include?

The following are the categories and topics available to install:

.
β”œβ”€β”€ assets/              # Mostly images
β”‚   └── wallpapers/      ## love details and easter eggs
|
β”œβ”€β”€ base/                # Provisions my system with the bare essentials
β”‚   β”œβ”€β”€ macos/           ## bare essentials for macOS
β”‚   └── fedora/          ## bare essentials for Wind... err, Fedora
|
β”œβ”€β”€ dev/                 # Relevant to software development & programming in general
β”‚   β”œβ”€β”€ lua/             ## manage lua environments with luaenv
β”‚   β”œβ”€β”€ python/          ## setup pyenv, a simple Python version management
β”‚   └── node/            ## setup nodenv, a lightweight alternative to nvm
|
β”œβ”€β”€ editor/              # Configuration for my text editors
β”‚   β”œβ”€β”€ editorconfig/    ## maintain consistent coding styles between different editors
β”‚   └── emacs/           ## the best of both the Emacs and Vim worlds
|
β”œβ”€β”€ misc/                # For various apps & tools
β”‚   β”œβ”€β”€ apps/            ## macOS apps and utilities
β”‚   β”œβ”€β”€ cvim/            ## Vim-like bindings for Google Chrome
β”‚   β”œβ”€β”€ hammerspoon/     ## a bunch of lua scripts for macOS to boost my productivity
β”‚   β”œβ”€β”€ iterm/           ## iTerm2, is there a better macOS terminal?
β”‚   └── karabiner/       ## absolutely amazing macOS app that lets me remap completely my keyboard
β”‚
└── shell/               # Shell utilities
    β”œβ”€β”€ bash/            ## Not my default shell but doesn't hurt to have a basic config
    β”œβ”€β”€ git/             ## nice aliases and zsh plugins
    β”œβ”€β”€ sk/              ## faster than fzf, Skim it's Fuzzy Finder in rust!
    β”œβ”€β”€ tmux/            ## window manager within the terminal + nice plugins
    └── zsh/             ## My shell of choice with a nice prompt, really fast and extensible with zplugin

Dotfile management

Usage: deploy [-acdlLit] [TOPIC...]

  -a   Target all enabled topics (ignores TOPIC args)
  -c   Afterwards, remove dead symlinks & empty dot-directories in $HOME.
       Can be used alone.
  -d   Unlink and run `./_init clean` for topic(s)
  -l   Only relink topic(s) (implies -i)
  -L   List enabled topics
  -i   Inhibit install/update/clean init scripts
  -t   Do a test run; do not actually do anything

e.g.

  • deploy base/macos shell/{zsh,tmux}: enables base/macos, shell/zsh & shell/tmux
  • deploy -d shell/zsh: disables shell/zsh & cleans up after it
  • deploy -l shell/zsh: refresh links for shell/zsh (inhibits init script)
  • deploy -l: relink all enabled topics
  • deploy -L: list all enabled topics

Here's a breakdown of what the script does:

cd $topic
if [[ -L $DOTFILES_DATA/${topic//\//.}.topic ]]; then
    ./_init update
else
    ln -sfv $DOTFILES/$topic $DOTFILES_DATA/${topic//\//.}.topic

    ./_init install
    ./_init link
fi

Troubleshooting

Signing Git commit with GPG ask passphrase everytime

Make sure the GPG key ID is correct. You can get a list of GPG keys with gpg --list-secret-keys --keyid-format LONG and then set it in Git with git config --global user.signingkey [GPG-key-ID].

More details in Telling Git about your GPG key.

Relevant projects

dotfiles.deprecated's People

Contributors

eduarbo avatar

Stargazers

Adam Wagner avatar teamNOOB avatar Jamie Rolfs avatar Brandon Beveridge avatar rinetd avatar AB avatar eg avatar Anderson Fraga avatar abrasumente avatar  avatar Ken Chen avatar Randy-jun avatar Crackdile avatar Zheng Shao avatar Tonatiuh NΓΊΓ±ez avatar  avatar Phnah avatar

Watchers

 avatar James Cloos avatar AB avatar

dotfiles.deprecated's Issues

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.