Skip to content

Yash-Singh1/dotfiles

Repository files navigation

dotfile logo

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 and Oh My ZSH.

  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.

  4. Setup better-git-diff for Linux

  5. gterminal.preferences will have to be loaded (see gterminal.preferences.sh).

  6. For the zsh custom plugins/theme, you will have to install them separately.

  7. See this link 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 and tmux

  12. Install bun completions, bun completions

  13. Install docker and docker-desktop

  14. Install the Orchis Solid Dark, Bibata Modern Classic, and Vimix Dark themes for GTK

  15. Install Polybar and 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

Nano Editor Extensions

To install the nano editor extensions, setup scopatz/nanorc and install nano-mermaid and nano-nocode. Also, load the .nanorc file in the repository.

Releases

No releases published

Packages

No packages published

Languages