All Projects â†’ dideler â†’ dotfiles

dideler / dotfiles

Licence: MIT License
📄 These are my dotfiles. There are many like them, but these are mine.

Programming Languages

Vim Script
2826 projects
shell
77523 projects
ruby
36898 projects - #4 most used programming language
jq
24 projects

dideler dotfiles

The link script will symlink all the files in the repository to your $HOME (except the ones that are specified to be excluded--see the script). The symlinks will contain the same names as the files in your repo, and mirror the same directory structure if they happen to reside in directories.

NOTE: The script only symlinks files, not directories.

If you have dotfiles that you want to include in your dotfiles repo, you'll have to manually copy/move them over to the repo and then run the script to link them.

In some situations you may want to add only a few dotfiles in a directory instead of all of them. For example, you want to symlink most of your ~/.config contents and put them on GitHub but there is a file ignore_me that you don't want to touch:

/home/dennis/.config
|-- fish
|   |-- config.fish
|   `-- functions
|       |-- 1.fish
|       |-- 2.fish
|       `-- 3.fish
`-- ignore_this_file

One way is to recursively copy the common ancestor directory to your dotfiles repo and remove the stuff you don't want symlinked and on GitHub.

cp -rip ~/.config ~/github/dotfiles
cd ~/github/dotfiles
rm -rf .config/ignore_me
./link  # Et voila!

So the .config directory in your dotfiles repo would look something like:

/home/dennis/github/dotfiles/.config
|-- fakefish
    |-- config.fakefish
    `-- fakefunctions
        |-- 1.fakefish
        |-- 2.fakefish
        `-- 3.fakefish

My bash files are no longer being maintained, I've switched to the fish shell.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].