Skip to content

dhvcc/configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

201 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configs

desktop

Quick Install

Prerequisites are only bash / curl / git (macOS should have them installed by default, although git would need user input to install after prompt)

This will move every conflicting file from home into ~/.config-backup directory, so you can return to backup if needed

curl -Lks https://raw.githubusercontent.com/dhvcc/configs/master/.cfg/install.sh | /bin/sh
exec bash

This will run the setup for all of the utils that you need to run this config

"$HOME/.cfg/setup.sh"

Warning, zsh is still the primary shell, but shell plugins are now managed through sheldon

Configuration

  • Any additional rc stuff for your .zshrc you can add into .config/.rc_extend.sh
  • Shared shell env lives in ~/.config/.shellenv.sh
  • Shared interactive shell init lives in ~/.config/.shellrc.sh
  • Zsh plugins are managed in ~/.config/sheldon/plugins.toml
  • Bash plugins are managed in ~/.config/sheldon/bash_plugins.toml

Neofetch

  • neofetch can be turned off with NEOFETCH=0 (in something like .config/.rc_extend.sh)
  • you can override default neofetch settings with your own theme. Just add export NEOFETCH_THEME=name_of_your_theme to .rc_extend.sh and add your settings into ~/.config/neofetch/themes/name_of_your_theme.sh file

Sections below will be re-written because of the new installer


TODO

  • Don't default editor to VIM
  • Fix aliases when command is not found (ls/vim)
  • Better extensibility support (redo .rc_extend.sh and friends)
  • Better docs
  • Revert config script
  • Helper command (something like cfg help?)

Dependencies

System

Dependencies and software on ubuntu

sudo apt-get install -y htop xclip make vim curl \
       python3-dev python3-pip python3-venv \
       libpq-dev libsqlite3-dev

Shell

Software

  • nerd-fonts (Hack Nerd Font Mono)
  • fzf (used for shell history search, vim file search, but can also be used fore many more things)
  • btop (fancier htop)
  • oxker (docker monitoring tool)
  • k9s (k8s monitoring tool)
  • sheldon (shell plugin manager for zsh and bash)
brew install font-hack-nerd-font fzf btop oxker sheldon

VIM / NEOVIM

brew install nvim
LV_BRANCH='release-1.4/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.4/neovim-0.9/utils/installer/install.sh)

Pip

Install uv

wget -qO- https://astral.sh/uv/install.sh | sh
uv tool install poetry
uv tool install ansible

Cargo

# Starship cargo install is super slow
sh -c "$(curl -fsSL https://starship.rs/install.sh)"

Shell

sheldon lock --update

SHELDON_CONFIG_FILE="$HOME/.config/sheldon/bash_plugins.toml" \
SHELDON_DATA_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/sheldon-bash" \
  sheldon lock --update

exec zsh

Terminal

  • Ghostty
    brew install --cask ghostty

About

My dotfiles and configs

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors