hutgrabber / hutgrabber-dots

Linux Dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hutgrabber's DotFiles

Getting Started

git clone git@github.com:hutgrabber/hutgrabber-dots.git $HOME/.dotfiles

Working Tree

$HOME
├── .config
│   ├── bat/
│   ├── nvim/
│   ├── nvim-vscode/
│   ├── omz/
│   ├── starship.toml
│   └── tmux/
├── .stow-ignore-local
├── .zshrc
└── README.md

OhMyZsh

For a fresh OMZ setup, first install OhMyZsh into the terminal:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

OhMyZsh will use the $ZSH variable, which points to the .oh-my-zsh directory. In this case - $HOME/.config/.oh-my-zsh/. Which is set in the .zshrc file by default. The $ZSH_CUSTOM variable points to custom OMZ plugins. Which is the $HOME/.config/omz folder.

Working Tree

omz
├── aliases.zsh
├── environment.zsh
├── hacking.zsh
└── plugins/

While adding plugins to the plugins directory, make sure to strip all git files for smooth management.

Starship Prompt

Start by installing the starship binary via package manager or from git. Put it in $PATH:

curl -sS https://starship.rs/install.sh | sh

Finish by adding the following to .zshrc:

eval $(starship init zsh)

Starship uses variables to help it point to custom directories. In this case:

export STARSHIP_CONFIG="$HOME/.config/starship.toml"

TMUX

The configuration file is at $HOME/.config/tmux/tmux.conf which is synced with this repository. However, the plugin manager consists of stand alone repositories which clashes while pushing.

For setting up TPM, create a new directory $HOME/.config/tpm/plugins & clone the TPM repository in it. This gets called in the tmx-conf file run "$HOME/.config/tpm/plugins/tpm/tpm".

Working Tree

tpm
└── plugins
    ├── tmux
    ├── tmux-sensible
    ├── tmux-yank
    ├── tpm
    └── vim-tmux-navigator

Clone the TPM repo:

git clone https://github.com/tmux-plugins/tpm $HOME/.config/tpm/plugins/tpm

All TPM plugins should be installed in the plugins directory.

NVIM

We are using the LazyVim configuration.

Working Tree

nvim
├── init.lua
├── lazy-lock.json
├── lazyvim.json
├── lua
│   ├── config
│   │   ├── autocmds.lua
│   │   ├── keymaps.lua
│   │   ├── lazy.lua
│   │   └── options.lua
│   └── plugins
│       ├── INSTRUCTIONS.txt
│       ├── colorshemes.lua
│       ├── lazy-git.lua
│       ├── mason.lua
│       └── plugins.lua
└── stylua.toml

About

Linux Dotfiles


Languages

Language:Shell 96.8%Language:Lua 2.2%Language:Vim Script 0.4%Language:Perl 0.3%Language:Makefile 0.2%