Git Product home page Git Product logo

dotfiles's Introduction

License tokei Hits-of-Code

dotfiles

My scripts and dot files

Consists of various DevOps-oriented configurations which are meant for my own personal Arch-based linux setup, but can be used in with other Linux distros such as Debian, Ubuntu, RHEL, etc.

Overview

My config overall consists of dotfiles and scripts/ that are meant to be fish and bash shell compatible as much as possible in cases where not all the components are allowed to be installed on certain servers for various reasons, etc. Since Fish shell is not POSIX complaint, Bash is meant to be used as a backup shell in cases where it would be more comfortable. But the main advantage of Fish shell, in my use case, is that outocompletion is setup automatically for tools such as docker, kubectl, etc, along with some other nice features.

The configs for Bash shell (.bashrc) and Fish (config.fish) reference aliases and commands defined in the scripts/ folder.

Programs

To take the most advantage of the config, a few tools are used, which are recommended for installation given that they are setup in _aliases, .bashrc and config.fish:

  • starship - A cross-shell prompt customizaion tool (Rust);
  • mcfly - A cross-shell tool for browsing through shell history (Rust);
  • fzf - A command-line fuzzy finder (Rust);
  • eza - A modern replacement for ls, based on exa (Rust);
  • zoxide - A modern replacement for cd (Rust).
  • bat - A modern replacement for cat (yes, you guessed it, Rust).

Font configuration

In order for the terminal to display those symbols correctly, you must install one of many Nerd Fonts and configure your terminal to use one of them.

Installation

โš ๏ธ Warning: This will overwrite your configs!

Clone repo (It is important to clone with modules!):

git clone --recurse-submodules -j8 https://github.com/mbrav/dotfiles && cd dotfiles

Install dotfiles interactively:

./install.sh

Install dotfiles non-interactively

force=1 ./install.sh

Trying out these configs in a Docker container

Before you install these configs on your system, you can try them out in a docker container. This is a feature that is still a work in progress. You can build and run these configs by simply doing:

./docker.sh

dotfiles's People

Contributors

mbrav avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.