Skip to content
/ bash Public

The repo contains my bash script to speed up dev work. Enjoy this repo

License

Notifications You must be signed in to change notification settings

gbs4ever/bash

Repository files navigation

My dotfiles

Enjoy this repo 😄 😃 😃

Contents

The repo contains my bash script's to speed up my dev work. I work on a windows platform with WSL (linux subsystem) many times my postgres server needs to be rebooted. as the subsystem will disconnect the postgressql server use load command to restart the psql server .

  • .aliases contains bash aliases
  • .heroku.sh contains heroku aliases
  • updates.sh functions to update diffrent gems/packages etc
  • packages.sh functions to get linx based packages etc

To use these just download the repo into your root directory (~/.bash_profile on mac)

cd ~ && git clone git@github.com:gbs4ever/bash.git When you install Oh My Bash, it creates a new .bashrc file in your home directory, potentially overwriting the existing one. This means any custom configurations or environment variables you previously added might be lost ,it creates a a new .bashrc so you we need to re add this .

nano ~/.bashrc

Then copy this and add it to the bottom of you bashrc.

for file in ~/bash/.*.sh
do source $file
done

If you want to keep this repo updated locally dont forget git pull or just use the keywords update_bashin bash or if you want to keep current shell open update_current .



Simcha Greenbaum


© All rights are reserved 2021 Made with 💖

About

The repo contains my bash script to speed up dev work. Enjoy this repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published