https://github.com/stealthybox/bashrc-simple
A sort-of portable way to get a more usable shell prompt
https://github.com/stealthybox/bashrc-simple
bashrc-configs
Last synced: over 1 year ago
JSON representation
A sort-of portable way to get a more usable shell prompt
- Host: GitHub
- URL: https://github.com/stealthybox/bashrc-simple
- Owner: stealthybox
- Created: 2021-11-08T20:32:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-21T00:15:23.000Z (over 3 years ago)
- Last Synced: 2025-01-06T17:51:08.693Z (over 1 year ago)
- Topics: bashrc-configs
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a small, organized bash config and .inputrc to quicken the path
to a usable shell on a new machine.
> (ex: cloud shells, docker containers, or k8s pods)
I made this to install on new servers quickly and help new folks have a
better time in their shell.
This setup is nice without taking on the complexities and inconsistencies
of zsh or fish.
## install /w git
```shell
git clone https://github.com/stealthybox/bashrc-simple
( cd bashrc-simple; ./link.sh )
# any files that are overridden will be backed up as ${file}.old
# open another terminal, check for any problems
```
## uninstall
This will iterate through the files in the repo, and attempt to recover
the previous ones from `${file}.old`.
```shell
( cd bashrc-simple-main; ./unlink.sh )
```
## customization
Feel free to fork this and make it your own!
Modify the prompt here: [`.bashrc.d/1_sh/prompt.sh`](./.bashrc.d/1_sh/prompt.sh)
See the available colors here: [`.bashrc.d/0_lib/colors.sh`](./.bashrc.d/0_lib/colors.sh)
________
## install /w wget
```shell
wget https://github.com/stealthybox/bashrc-simple/archive/refs/heads/main.zip
unzip main.zip
\rm main.zip
( cd bashrc-simple-main; ./link.sh )
```
## install /w curl
```shell
curl -Lo main.zip https://github.com/stealthybox/bashrc-simple/archive/refs/heads/main.zip
unzip main.zip
\rm main.zip
( cd bashrc-simple-main; ./link.sh )
```