Skip to content

GSSparks/bashrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bashrc

My Bash login script.

Features include:

  • Displays current Git branch name.
  • Shortens URL after 3 directories
  • Autostarts tmux and sets vim as my default editor.
  • Adds time format to history and ignores and erases duplicate entries.
  • Displays system information using screenfetch.
  • Display date, time, and weather information in prompt
  • Asks for API key and zip code if one is not set for weather.
  • Weather is curled from wttr.in or openweathermap.org and updated every 30 minutes.
  • Useful Aliases such as .. for cd .. and ... for cd ../..

Screenshot

  • Exit code indicators

Screenshot

Requirements

  • Needs DejaVu Mono fonts from Nerd Fonts
  • Needs bat, curl, tmux, vim, and screenfetch
  • Needs an openweathermap.org API key to use the secondary weather function

About

My Bash login script.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages