Skip to content

SnipUndercover/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

~/.dotfiles

.dotfiles are text-based files that live on your home directory and carry your environment configuration.
By putting them in a repository, you can clone and restore that environment on any system.
Those are mine.

Prerequisites

  • sudo privileges
  • git (v1.17.10+)
  • an internet connection

Installation

cd ~
git clone https://github.com/SnipUndercover/.dotfiles
cd .dotfiles
./install.sh

Manual Installation

In case you want to perform a single action (maybe because you don't want to install nvm or omz twice), you may use one or more scripts from the manual/ folder.

Contents

The install.sh script will...

  1. Perform an apt update
  2. Install the following:
    • git
    • curl
    • p7zip
    • vim
    • bat
    • exa
      (The apt binary provided is built without git support, therefore it must be installed manually for it to work)
  3. Create ~/.dotfile symlinks for:
    • ~/.gitconfig
  4. Install and configure ZSH:
    • Change the default shell to ZSH
    • Symlink the .zshrc config
    • Install oh-my-zsh
  5. Install and configure nvm:
  6. Install OpenJDK 8 and 18 JDK and JREs (optional)

This repository also contains compiled Cascadia Code (release 2111.01) fonts.

~/.zshrc

The provided ~/.zshrc uses the following plugins:

  • aliases
  • colored-man-pages
  • common-aliases
  • debian
  • extract
  • git
  • git-prompt
  • jsontools
  • npm
  • nvm
  • thefuck

It also:

  • uses the agnoster theme
  • sets the default user to sniping (hey, that's me!)
  • overrides aliases to ls to use exa instead
  • creates an aliases alias to use the acs function exposed by the aliases plugin

About

Text-based configuration files.

Resources

Stars

Watchers

Forks

Languages