All Projects → matu3ba → dotfiles_skeleton

matu3ba / dotfiles_skeleton

Licence: MIT license
robust and beginner friendly dotfile skeleton

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to dotfiles skeleton

Vcsh
config manager based on Git
Stars: ✭ 1,836 (+13014.29%)
Mutual labels:  posix, dotfiles-linux
messages
A python package designed to make sending messages easy and efficient!
Stars: ✭ 38 (+171.43%)
Mutual labels:  beginner-friendly
go-sysconf
sysconf for Go, without using cgo
Stars: ✭ 119 (+750%)
Mutual labels:  posix
await
28Kb, small memory footprint, single binary that run list of commands in parallel and waits for their termination
Stars: ✭ 73 (+421.43%)
Mutual labels:  posix
Open-Source-Enthusiast
Showcase Your Programming Skills here without hesitation
Stars: ✭ 102 (+628.57%)
Mutual labels:  beginner-friendly
FAVITES
FAVITES (FrAmework for VIral Transmission and Evolution Simulation)
Stars: ✭ 33 (+135.71%)
Mutual labels:  robust
yaclt
Yet Another Change Log Tool
Stars: ✭ 24 (+71.43%)
Mutual labels:  beginner-friendly
dotfiles
My personal monorepo: dotfiles, /etc-files, single-file scripts, vim plugins, webexts/userscripts, xmonad config, all that stuff…
Stars: ✭ 84 (+500%)
Mutual labels:  dotfiles-linux
kotoriotoko
KOTORIOTOKO (little bird man) -- Extremely Compatible and Sustainable Twitter Application Written in Shell Script
Stars: ✭ 89 (+535.71%)
Mutual labels:  posix
spring-file-storage-service
The FSS(file storage service) APIs make storing the blob file easy and simple .
Stars: ✭ 33 (+135.71%)
Mutual labels:  posix
Projects-Archive
This hacktober fest, the only stop you’ll need to make for ML, Web Dev and App Dev - see you there!
Stars: ✭ 21 (+50%)
Mutual labels:  beginner-friendly
bc
An implementation of the POSIX bc calculator with GNU extensions and dc, moved away from GitHub. Finished, but well-maintained.
Stars: ✭ 115 (+721.43%)
Mutual labels:  posix
nim-presentation-slides
Nim Presentation Slides and Examples.
Stars: ✭ 30 (+114.29%)
Mutual labels:  beginner-friendly
bfetch
📠 Dynamic fetch displayer that SuperB
Stars: ✭ 114 (+714.29%)
Mutual labels:  posix
sh
Collection Of My Sh Scripts.
Stars: ✭ 109 (+678.57%)
Mutual labels:  posix
distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
Stars: ✭ 4,371 (+31121.43%)
Mutual labels:  posix
JS-OS
An Unified Operating System on the web
Stars: ✭ 54 (+285.71%)
Mutual labels:  beginner-friendly
DataStructures-Algorithms
A collections of many CP-based or DSA-based Questions that is stored various algorithms and datastructures to increase coding aptitutde. Anybody with a knack for coding can feel free to add more solutions and questions in the respective folders
Stars: ✭ 15 (+7.14%)
Mutual labels:  beginner-friendly
Magento-2-Module-Skeleton
This Module provides a basic Skeleton for further Magento 2 Modules.
Stars: ✭ 30 (+114.29%)
Mutual labels:  skeleton-template
Python-Guide-for-Beginners
A guide for Beginners in Python to refer
Stars: ✭ 47 (+235.71%)
Mutual labels:  beginner-friendly

dotfiles

All actions in the following scripts are performed according to structure of dotfiles.

  • checkHealth.sh shows status of files
  • fileBackup.sh create backup to folder $HOME/back/TIMESTAMP_backconfig with timestamp if not symlink
  • fileRemove.sh remove regular files, if existing on system
  • fileRestore.sh write files, if nonexisting on system, from backup by argument the folder name
  • symlinkInstall.sh create symlinks and also create folders with symlinks
  • symlinkUninstall.sh remove symlinks

Dependencies

  • coreutils: http://git.savannah.gnu.org/gitweb/?p=coreutils.git (untested for other utils)
    • readlink to follow symbolic links
    • realpath to resolve non-canonical paths provided by fd-find
  • fd-find: https://github.com/sharkdp/fd (cargo install fd-find) for convenient ignorelist
    • fd returns relative paths prefixed with ./ to prevent -files from modifying shell behavior
  • POSIX-compatible shell, but should work on most other shells

Usage

Make sure to place this repository in ${HOME}/dotfiles. If you also like that this can not be checked in POSIX, let them know.

Make sure not to mess up your .bashrc or equivalent of your login shell. Keep a copy of your distro and files around on your first try to restore things.

Path handling and file names

To set an example for proper handling, we use readlink and realpath from coreutils. This is a fundamental limitation of any program printing folder and file names, since -filenames are not considered as special. However they can break programs. Example: ls "${filename}" with filename being -k leading to tls -k. See also sharkdp/fd#760 and https://dwheeler.com/essays/fixing-unix-linux-filenames.html#dashes

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].