Giter Club home page Giter Club logo

dotfiles's Introduction

ABANDONED IN FAVOUR OF:


viccuad's dotfiles

My dotfiles!

spacemacs inside tmux

emacs_tmux

gvim

gvim

vim inside tmux

vim_tmux

old vim + gdb (ConqueGDB plugin)

vim_gdb

Layout

I use stow for deployment (and a little script), so the layout of the dotfiles is as follows:

tree

As you can see, 'applications' are separated on directories, and inside them, stowable files that follow to path they should have from ~/.

There's a few special files in the hierarchy.

  • containing nostow: Any files containing nostow in their filename will not get symlinked by stow.

  • /nostow/bin/: Anything in bin/ will get added to your $PATH and be made available everywhere.

  • topic/nostow/dependencies.sh: A wrapper to install the needed software for that topic (normally, Debian packages)

  • topic/nostow/*.zsh: Any files ending in .zsh get loaded into your environment.

  • topic/nostow/path.zsh: Any file named path.zsh is loaded first and is expected to setup $PATH or similar.

  • topic/nostow/completion.zsh: Any file named completion.zsh is loaded last and is expected to setup autocomplete.

If you're adding a new area to your forked dotfiles โ€” say, "Java" โ€” you can simply add a java directory and put files in there. Anything with an extension of .zsh inside of java/nostow/ will get automatically included into your shell. All the things inside java that aren't inside of nostow or don't have nostow in their filenames will get symlinked into $HOME when you run install.sh.

install

To install run this:

git clone --recursive https://github.com/viccuad/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
git submodule init
git submodule update
./install.sh

The install script will ask if you want to set your Zsh as the default shell, make a new gitconfig, install the dependencies, make a dry run that does not write anything, etc. Installing a dir will symlink the appropriate files in .dotfiles to your home directory. Everything is configured and tweaked within ~/.dotfiles.

We are using stow, and stow does not delete or overwrite file that already exist. You will need to make a backup of them or delete them.

uninstall

To uninstall run:

./uninstall.sh

todo

  • [] implement something like vcsh or move to it
  • Make optional to load folders on zsh

dotfiles's People

Contributors

viccuad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dotfiles'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.