Skip to content

iconicgr/dotfiles

Repository files navigation

dotfiles

Useful dot files for ubuntu/debian bash prompt
(the files do not work properly on git-bash)

Quick Intro and Installation

The project includes a few . files to be copied in your ~ directory. If you already have a .bashrc file, you can use something like

source ~/dotfiles/.bashrc
source ~/dotfiles/.bash_aliases

It was created to practice my sh writing skills.

It's tested on latest konsole on Ubuntu, Debian and Archlinux. termite seems to have some issues.

If icons do not work, try setting the font of your console to Hack

Functionality

  • Readable bash prompt: Provides much info without being distracting
  • git: Provides a clear overview of the local git repository. The feature is hidden for non-git directories.
  • Computer ID: Quick view of the machine's FQDN or Hostname
  • Computer's main IP: as it's returned by its routes
  • SSH: Indication by the prompt to remind you that you are working remotely
  • Useful Aliases: Provides some commonly used aliases for ls, df etc
  • Disable parts: By commenting out

TODO

  • Revise the code to be more modular, separate graphics from info
  • git ahead and behind error
  • Long delay if primary DNS is not available

Thank you to

About

Dot files for ubuntu/debian bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages