https://github.com/gssparks/bashrc
My Bash login script.
https://github.com/gssparks/bashrc
bashrc command git prompt
Last synced: about 1 month ago
JSON representation
My Bash login script.
- Host: GitHub
- URL: https://github.com/gssparks/bashrc
- Owner: GSSparks
- License: cc0-1.0
- Created: 2022-12-31T22:05:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-26T00:33:32.000Z (about 3 years ago)
- Last Synced: 2025-01-21T14:45:43.483Z (over 1 year ago)
- Topics: bashrc, command, git, prompt
- Language: Shell
- Homepage:
- Size: 502 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 ../..`

* Exit code indicators

## Requirements
* Needs DejaVu Mono fonts from [Nerd Fonts](https://www.nerdfonts.com)
* Needs bat, curl, tmux, vim, and screenfetch
* Needs an [openweathermap.org](https://openweathermap.org) API key to use the secondary weather function