Skip to content

An opinionated repository packed with shortcuts, bash prompts, and various tweaks aimed to streamline my posix-based dev environment

License

Notifications You must be signed in to change notification settings

jumpdest7d/env-deluxe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Env-Deluxe

Env-Deluxe is a repository packed with shortcuts, bash prompts, and various tweaks aimed to streamline my coding environment. These useful settings are designed to be cloned into a hidden directory. Please feel free to fork this and customise to suit your own needs.

Contributions

PRs gladly accepted, with a sprinkling of bias and opinion.

Installation

Clone this repo from your home directory

git clone https://github.com/jumpdest7d/env-deluxe.git ~/.env-deluxe`.

Usage

After cloning, you will need to source the desired files in your .bashrc or .bash_profile (depending on your system). For example, if you want to use the git aliases, add the following line:

source ~/.env-deluxe/aliases.sh

Sourcing on startup

Add the command above to the correct shell initialisation file:

Ubuntu:

echo 'source ~/.env-deluxe/aliases.sh' >> ~/.bashrc

Zsh:

echo 'source ~/.env-deluxe/aliases.sh' >> ~/.zshrc

Others:

echo 'source ~/.env-deluxe/aliases.sh' >> ~/.bash_profile`

To apply the changes, restart your terminal or run source ~/.bashrc or source ~/.bash_profile.

Commands and Aliases

Git Aliases

This repository includes a file git-aliases.sh with a set of useful aliases for common Git commands. Below are some examples:

ga: Git add.

Usage: ga yourfile.txt

gc: Git commit with a message.

Usage: gc "Your commit message"

gp: Git push.

Usage: gp

gs: Git status.

Usage: gs

WSL Aliases

wsl-update-time Update the WSL internal clock

Usage: wsl-update-time WSL has a weird clock skew issue that causes SSL certificate signatures to be expired on creation. See this WSL bug megathread

About

An opinionated repository packed with shortcuts, bash prompts, and various tweaks aimed to streamline my posix-based dev environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages