No description
  • Shell 39.3%
  • Lua 31.3%
  • Vim Script 28.8%
  • Python 0.4%
  • CSS 0.1%
Find a file
2026-06-17 22:11:51 +05:30
common fix(pnpm): Use only the required environment exports 2026-06-17 22:11:51 +05:30
linux/.config feat(alias): Remove install function which overrode the posix command 2026-06-17 22:09:58 +05:30
macos/shell fix: ZSH: per-directory-history plugin issue fix 2024-07-01 22:12:19 +05:30
scripts feat: pnpm, fnm, uv for package and version management 2026-05-18 17:42: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 chore(alias): podman removed, up won't do OS upgrade 2026-02-18 23:16:39 +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