No description
  • Shell 40.5%
  • Lua 31%
  • Vim Script 28.4%
Find a file
2026-08-01 23:20:24 +05:30
common chore(nvim): Remove trivy lint - never worked properly 2026-08-01 23:20:24 +05:30
linux/.config feat(alias): Snapper aliases for quickly creating pre & post snapshots 2026-07-26 18:07:36 +05:30
macos/shell fix: ZSH: per-directory-history plugin issue fix 2024-07-01 22:12:19 +05:30
scripts fix(install): Dnf: yes to add repo keys, more graphics package installs 2026-08-01 23:17:31 +05:30
.gitignore fix(install): Uncomment brew install 2024-09-09 23:32:16 +05:30
.prettierrc Template files created 2024-03-06 16:01:37 +05:30
LICENSE NVIM Configuration Enhancements 2023-12-30 23:42:46 +05:30
README.md chore(neovim): Remove dotnet from README & formatting config 2025-07-29 11:22:09 +05:30
setup.sh feat(install): openSUSE support, root guard - ask when required 2026-07-20 23:24:44 +05:30

Dotfiles

  1. Restore my dotfiles on any *nix OS.
  2. Install required applications on any Linux OS.

Dotfiles are symlinked from the repo to the required location. Changes made in the repository will be automatically reflected on the system when the symlink is created.

Usage

$ git clone https://github.com/pratiktri/dotfiles

$ sh setup.sh -h
Apply all settings stored in the scripts directory to your home directory.

Usage: ./setup.sh [OPTION]
Options:
  -h, --help      Show this help message.
  -d, --dry-run   Simulate dotfile symlink without doing anything.
  -i, --install   Install programs listed on package-list-os & package-list-brew files.

Installation

Installation scripts are inside scripts directory.

It reads 2 text files to gather lists of software to install:

  1. package-list-os - To install using OS package manager.
  2. package-list-brew - To install using brew package manager.

Any package not available are skipped.

install.sh calls install-os-packages.sh and install-brew-packages.sh. But, both can be executed independently.

Manual installation to be done for various distros

Test

  1. Need to be inside this directory

    cd scripts/test
    
  2. Use Dockerfile to change OS

  3. Run the script

    ./run-test.sh