Files
dotfiles/README.md
Pratik Tripathy 27b1f7e9ed fix(install-script): FreeBSD fixes and more
- Alias: FreeBSD: pkg update and autoremove aliases added
- Install: GhostBSD: Use FreeBSD commands to do the installation
- Install: FreeBSD: start dbus
- Install: Fedora: improve dnf install speed by limiting minimum
  download rate & decreasing timeout
- Install: Brew: Don't install brew package if OS has installed the package
- Install: Brew: sccache for Rust
- Install: OS: More packages moved from brew -> OS. Those are available
  across FreeBSD & Fedora
2025-01-06 17:53:36 +05:30

68 lines
1.9 KiB
Markdown
Executable File

# 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.
That is, changes on repository get auto reflected on the system.
## Usage
```bash
$ git clone https://github.com/pratiktri/dotfiles
$ sh setup.sh -h
Apply all settings stored in the script's 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`. Both can be executed separately.
### Manual installation to be done for various distros
- aka, pending installations that I gave up automating.
- All Distros:
- Appimagelauncher: <https://github.com/TheAssassin/AppImageLauncher/releases>
- Zoho Mail: <https://downloads.zohocdn.com/zmail-desktop/linux/>
- Zoho Workdrive: <https://www.zoho.com/workdrive/desktop-sync.html>
- Jetbrains-Toolbox: <https://www.jetbrains.com/toolbox-app/>
- Sublime-Text: <https://www.sublimetext.com/docs/linux_repositories.html>
- Debian & Ubuntu:
- Add non-free and backport sources, then run the `install-os-packges.sh` again
- Ulauncher: <https://ulauncher.io/#Download>
- Debian:
- Dotnet8: <https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install>
## Test
1. Need to be inside this directory
```bash
cd scripts/test
```
2. Use `Dockerfile` to change OS
3. Run the script
```bash
./run-test.sh
```