https://github.com/zedseven/bashrc
My personal bashrc file. Makes the terminal look comfortable, and provides a number of Bash aliases.
https://github.com/zedseven/bashrc
bashrc-configs cargo cargo-plugin cargo-subcommand cli command-line rust terminal
Last synced: about 2 months ago
JSON representation
My personal bashrc file. Makes the terminal look comfortable, and provides a number of Bash aliases.
- Host: GitHub
- URL: https://github.com/zedseven/bashrc
- Owner: zedseven
- License: mit
- Created: 2021-09-28T12:28:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T02:54:16.000Z (over 3 years ago)
- Last Synced: 2025-10-24T00:54:44.921Z (8 months ago)
- Topics: bashrc-configs, cargo, cargo-plugin, cargo-subcommand, cli, command-line, rust, terminal
- Language: Shell
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bashrc
[](LICENSE)
My personal `.bashrc` file. Makes the terminal look comfortable, and provides a
number of Bash aliases mainly focused around Rust and its associated tools.
## Terminal

In the above screenshot, the two commands are `cargo clean` and
`cargo build --release`, respectively. (the first one isn't `cc` as you might
expect because I have that aliased to `cargo clippy`)
## Aliases
Aliases are designed to be as short as possible without conflicting with each
other or with standard tools & commands.
This can lead to them being a little hard to remember if not used frequently.
As such, an `aliases` alias is also provided to list them all, though really
it just wraps the existing Bash `alias` default command.
Many of the aliases are more than just simple redirects - a lot of them apply
switches and CLI arguments to achieve certain expected behaviour.
Some notable alias types:
- General Bash commands
- Making `ls` provide certain information and display a certain way by
default
- Shortening `exit` and `clear` to single characters
- Git commands for common operations
- Automatically sign all commits
- An absolute ton of [Cargo](https://doc.rust-lang.org/cargo/) commands
and Rust tools
- Many of which have variants for Debug/Release mode
- `no-std` checking alias that runs [`cargo nono`](https://github.com/hobofan/cargo-nono)
then builds for a target that doesn't support `std`
- Meant to be used alongside [my Rust project template](https://github.com/zedseven/rust-template-general)
## Used Tools
- Git
- Rust (`nightly`)
- [Clippy](https://github.com/rust-lang/rust-clippy)
- [Miri](https://github.com/rust-lang/miri)
- [cargo-generate](https://github.com/cargo-generate/cargo-generate)
- [cargo-expand](https://github.com/dtolnay/cargo-expand)
- [cargo-nono](https://github.com/hobofan/cargo-nono)
- [cargo-license](https://github.com/onur/cargo-license)
- [cargo-outdated](https://github.com/kbknapp/cargo-outdated)
## Environment
Currently (as of 2021-11-06) used with [Git For Windows](https://gitforwindows.org/),
though it should work without modification on an actual Linux Bash
installation.