Giter VIP home page Giter VIP logo

dotfiles's Introduction

klingt.net's dotfiles

The latest edition of my dotfiles. This time I tried to make the prompt as minimal as possible without omitting relevant informations. Both prompts, bash and zsh are looking identical, except that there is no version control prompt for bash. I'm also using defaults wherever possible, so customization is really easy.

Try it yourself: make try (requires docker)

tilix terminal emulator showing prompt

Prompt Features

  • subshell level if > 0
  • number of background jobs if > 0
  • return code if non zero
  • root username is red
  • git branch/rebase,merge etc.
  • duration of the last command
  • since the prompt is generated by a small Rust program it's shell agnostic!

Try

$ make try
  • requires docker
  • spins up a small alpine linux container

Install

WARNING The installation will overwrite your original dots without confirmation!

$ make install

This also install rusty-prompt which requires the following build dependencies (for Raspbian/Ubuntu):

  • cmake
  • libssl-dev
  • libssh2-1-dev

They can be named differently depending on your Linux distribution.

The repository also contains a small program that generates the output for xfce4's genmon panel plugin and requires go to build.

Customize

You can create a patch file of your custom dotfile settings:

$ ./patch.sh create

The install script will check if the patch file exists and apply them after a successful installation. You can also apply them manually by running: ./patch.sh apply.

dotfiles's People

Contributors

klingtnet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.