My personal linux configuration files (dotfiles). These include custom full-fledged ZSH configuration, vim config, many handy aliases and other things.
Go to file
2021-03-23 20:18:34 +00:00
home Update theme 2021-03-23 20:18:34 +00:00
root Update wifi_rand_mac.conf 2021-03-23 12:20:51 +01:00
src Use proper types 2021-01-14 14:56:59 +01:00
.gitignore Update gitignore 2021-01-14 14:23:58 +01:00
.gitmodules Add dotfiles 2020-10-22 18:00:38 +02:00
install.sh Add simple automatic installation script 2021-02-14 17:32:09 +01:00
LICENSE Create LICENSE 2020-10-23 11:09:50 +02:00
packages.yaml Mention portmaster (alternative to opensnitch) 2021-03-09 21:47:35 +01:00
README.md Fix markdown 2021-03-01 20:27:34 +01:00

Dotfiles

These are my personal dotfiles. This also include an automated installer for certain packages (Arch Linux specific) and for putting the dotfiles in place. Source code for this automated script is in src directory, and the dotfiles are located in home and root directories respectively.

You are highly adviced to first go through these dotfiles yourself and adjust them to your liking.

What does it do

  • Fully fledged ZSH configuration without the need to rely on oh-my-zsh
    • oh-my-zsh configuration is also supported, but it is off by default, adjust .zshrc to enable it
    • Even though enabling it is an option, it is not a necessary thing to do, oh-my-zsh has a lot of code that is mostly irrelevant and unused, these dotfiles give you the ability to completely avoid it, if you desire to do so
  • Custom prompt, both for oh-my-zsh configuration or for standalone usage
  • Custom VIM configuration (this was designed for regular vim, nvim support can't be guaranteed)
  • Many handy aliases (likely too many, you should adjust that to your needs)
  • XDG configuration to avoid too much cluttering in home directory
  • Automatic handlers which override default command not found behavior to show the package to which given command belongs (requires pkgfile on Arch Linux)
  • Automated package installation for Arch Linux, which includes many handy packages. You should certainly take a look at which packages will be installed and adjust packages.yaml before you run it.
  • Extensive vscode settings, note that these are the settings which I like, you will probably want to adjust them to your personal needs, or perhaps even replace them
  • Opensnitch firewall rules, which block most unauthorized traffic and only allow needed things. This also blocks spotify ads. These rules are located

Requirements

curl and tar, or git to clone the repository itself. Installation uses python and pip and pyyaml library for python, but that will get installed automatically by the install.sh script.

Sample images

  • Prompt (Fully adjustable, either manually here, or using other oh-my-zsh themes and removing the custom theme from .zshrc) image
  • Vim configuration (Fully adjustable, simply edit vimrc) image
  • Automatic unknown command package handler image

Installation

Clone this repository anywhere you like $ git clone https://github.com/ItsDrike/dotfiles

If you don't want to install git (running straight from newly installed os), you can use curl: $ curl -LJO https://github.com/ItsDrike/dotfiles/tarball/master And extract from .tar.gz archive: $ tar xvf [archive name]

Running the script

Before you run, you should take a look at the files included and adjust them however you like.

  • All files which will be added are in home/ and root/ directory. You can remove files which you don't want, or adjust them in any way.
  • You should also take a look at packages.yaml and remove all packages which you don't want and add those you do.

When you are prepared, you can run the installer (assuming you're in the clonned directory): $ chmod +x install.sh (Make installation script executable) $ sh install.sh (run the installation script, which will begin the instalaltion)