Giter Site home page Giter Site logo

zedseven / bashrc Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 33 KB

My personal bashrc file. Makes the terminal look comfortable, and provides a number of Bash aliases.

License: MIT License

Shell 100.00%
cargo-subcommand cargo-plugin rust command-line terminal cli cargo bashrc-configs

bashrc's Introduction

bashrc

License: MIT

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

A screenshot of how the terminal looks with the modifications made by this file

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 commands and Rust tools
    • Many of which have variants for Debug/Release mode
    • no-std checking alias that runs cargo nono then builds for a target that doesn't support std
    • Meant to be used alongside my Rust project template

Used Tools

Environment

Currently (as of 2021-11-06) used with Git For Windows, though it should work without modification on an actual Linux Bash installation.

bashrc's People

Contributors

zedseven avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.