Skip to content

rsletta/dotfiles

Repository files navigation

My personal dot file repository

This is the 2022 reboot of my dotfiles. Let's see where we end up.

The core principle behind this is to make it as platform independent as possible, with minimal configuration of the terminal application, to provide similar experience disregarding driving os.

I'm trying out using GNU Stow to manage my dotfiles, rather than using my hackety hacks bootstrapping scripts. This will probably be a bumpy ride, but isn't that part of what makes this fun?

macOS terminal client of choice is iTerm 2. Ubuntu on Windows 10 runs through WSL2, with Microsoft Terminal. On iOS I use Blink Shell.

At the moment, I'm evaluating Gruvbox as my color scheme. I used to use Nord, but my eyes are not what they used to, and I needed something new and contrasty.

Install Scripts

Use the install scripts to install dependencies, to prepare a new system before using dotfiles. Prompt will break if Oh My Posh is not present. Config of fallback prompt is in the backlog. 🤓

Scripts

The scripts folder is where I keep my small utility scripts, for day to day tasks.

./

  • fports - Opens ssh connetion to remote system, and forwards port from remote to localhost.
  • dailyNote - Looks for daily note in vault. If it exists, it opens in $EDITOR(AKA Neovim). If it's not present, a new note for today is created from template, before opening it in $EDITOR.
  • quickReadNote -Use fzf to select daily note, and display it using bat.
  • newTmuxSession - Creates a new tmux session from current directory, with provided name, or attach/switch to existing session if present.

./lib:

  • slugify - Takes in a string, and transforms it into a slug. DJ Adams
  • yyyymmdd - Returns correctly formated date. DJ Adams

Dependencies

Oh My Posh Theme

I run a minimalistic theme(that requires Nerd Fonts) I've called "Oh My Gruvbox", inspired by several of the existing minimal themes. It is a work in progress, with color palette from morhetz/gruvbox. Demo from node.js directory Demo from .Net directory

Language Servers

Available language servers

  • TypeScript/JavaScript - $ npm install -g typescript typescript-language-server
  • JSON - npm i -g vscode-langservers-extracted
  • HTML - npm i -g vscode-langservers-extracted
  • CSS - npm i -g vscode-langservers-extracted
  • Vue.js - npm install -g vls
  • bash - npm i -g bash-language-server
  • eslint - npm i -g vscode-langservers-extracted

Neovim plugins

Visuals

Telescope stuff

Language Server Protocol

Treesitter

Autocompletion

Writing & Markdown

Tools

Git

Inspirations

bashrc.d

I noticed DJ had split his bashrc into smaller scripts, and dynamically load them from bashrc.d. That is a great way to prevent bashrc to grow infinitely. I'm on board with it. 😃

.extrasrc

Contains system specific configuration, like NVM, FNM, etc. This file is not tracked, and needs to be maintained per system.

Exports:

  • BLOG_PATH=<path to rikosjett.com>
  • WRITING_PATH=<path to writing vault>

References (in no particular order)

Old setup based on

Make the terminal work for you! 🤓

About

My personal dot files repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published