https://github.com/yash-singh1/dotfiles
My dotfiles
https://github.com/yash-singh1/dotfiles
Last synced: about 2 months ago
JSON representation
My dotfiles
- Host: GitHub
- URL: https://github.com/yash-singh1/dotfiles
- Owner: Yash-Singh1
- Created: 2021-11-24T23:21:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-14T00:36:22.000Z (5 months ago)
- Last Synced: 2025-03-24T12:55:33.341Z (2 months ago)
- Language: Shell
- Size: 244 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

These are my dotfiles.
## Environment
- Browser: Google Chrome 92.0.4515.159
- Operating System: Ubuntu 20.04.3 LTS
- Terminal: GNOME Terminal 3.36.2## File Structure
- `.config/` (Contains main configuration for apps)
- `.vscode/` (Contains all extensions in a file)
- `scripts/` (Contains bash scripts)
- `.gitconfig` (Contains git configuration)
- `.nanorc` (Contains code to load nano syntax highlighting files)
- `.npmrc` (Contains npm configuration)
- `.nvmrc` (Contains the installed NodeJS version)
- `.p10k.zsh` (Contains mostly autogenerated configuration for powerlevel10k)
- `.vimrc` (Contains setup configuration for `vim`)
- `.zshrc` (Startup script for `zsh`, with plugin, theme, alias, `PATH` loading, etc. setup)
- `.zlogout` (Script that's sourced when login shells exit)
- `gterminal.preferences` (`dconf` dump of GNOME terminal preferences)
- `gterminal.preferences.sh` (Installation script for `gterminal.preferences`)## Installation
1. Setup [ZSH](https://zsh.sourceforge.io/) and [Oh My ZSH](https://ohmyz.sh/).
2. VSCode Configuration and Extensions
To install the VSCode Configuration, copy the configuration from `.config/Code/User/settings.json`
and paste it into the JSON for your VSCode configuration.
To install the extensions run `install-extensions.sh`.
You can also copy and paste the keybindings from `.config/Code/User/keybindings.json`, but it may
cause problems on different operating systems and keyboard layouts.
3. Nano Editor Extensions
See this [section](#nano-editor-extensions).
4. Setup [`better-git-diff`](https://github.com/Yash-Singh1/better-git-diff) for Linux
5. `gterminal.preferences` will have to be loaded (see [`gterminal.preferences.sh`](./gterminal.preferences.sh)).
6. For the `zsh` custom plugins/theme, you will have to [install them separately](#zsh-custom).
7. See [this link](https://khalidabuhakmeh.com/ohmyzsh-github-cli-command-completion) for installing the `gh` command line autocompletion.
8. Copy files from `dotfiles`- `scripts/` (setup in `PATH` too)
- `.vimrc` (`vim` setup file)
- `.zlogout`, `.zshrc` (`zsh` startup files)
- `p10k.zsh` (contains some customization for `powerlevel10k`, rest autogenerated)
- `.gitconfig` (also setup other information such as email and username)
- `.nvmrc` (automatically installed version of `nodejs` by `nvm`)
- `.npmrc` (also setup other information such as email and username)
- `.vuerc` (presets for creating Vue.js apps using the CLI)
- `.config/starship.toml` (configuration for `starship`)
- `.config/browsh` (configuration for `browsh`)
- `.tmux.conf` (configuration for `tmux`)
- `.alacritty.toml` (configuration for `alacritty`)9. Install `pnpm` and setup completion: `pnpm install-completion zsh`
10. Create a `.go` folder for golang
11. Install [`alacritty`](https://github.com/alacritty/alacritty/blob/master/INSTALL.md) and `tmux`
12. Install `bun` completions, `bun completions`
13. Install `docker` and `docker-desktop`
14. Install the [`Orchis Solid Dark`](https://github.com/vinceliuice/Orchis-theme), [`Bibata Modern Classic`](https://github.com/ful1e5/Bibata_Cursor), and [`Vimix Dark`](https://github.com/vinceliuice/vimix-icon-theme) themes for GTK
15. Install [Polybar](https://github.com/polybar/polybar/wiki) and [Polybar Themes](https://github.com/adi1090x/polybar-themes) (`simple` mode) and apply the `.config/polybar/main.patch` to the `~/.config/polybar`. You may need to change the `launch.sh` to match your WiFi network, but it works on my system just fine.
16. Install `rofi`: `sudo apt install rofi`. The polybar theme already configures `rofi` out of the box.
17. If on MacOS, also use XCode SDK CLang Library paths to place `bits/stdc++.h`## ZSH Custom
- `zsh-autosuggestions` ([Install](https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#oh-my-zsh) | [Repo](https://github.com/zsh-users/zsh-autosuggestions))
- `zsh-syntax-highlighting` ([Install](https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md#oh-my-zsh) | [Repo](https://github.com/zsh-users/zsh-syntax-highlighting))
- `powerlevel10k` ([Install](https://github.com/romkatv/powerlevel10k#oh-my-zsh) | [Repo](https://github.com/romkatv/powerlevel10k))
- `zsh-completions` ([Install](https://github.com/zsh-users/zsh-completions#oh-my-zsh) | [Repo](https://github.com/zsh-users/zsh-completions))
- `yeoman-zsh-plugin` ([Install](https://github.com/edouard-lopez/yeoman-zsh-plugin#oh-my-zsh) | [Repo](https://github.com/edouard-lopez/yeoman-zsh-plugin))
- `zsh-plugin-speedtest` ([Install](https://github.com/Yash-Singh1/zsh-plugin-speedtest#oh-my-zsh) | [Repo](https://github.com/Yash-Singh1/zsh-plugin-speedtest))## Nano Editor Extensions
To install the nano editor extensions, setup [`scopatz/nanorc`](https://github.com/scopatz/nanorc)
and install [`nano-mermaid`](https://github.com/Yash-Singh1/nano-mermaid) and [`nano-nocode`](https://github.com/Yash-Singh1/nano-nocode). Also, load the `.nanorc` file in the repository.