Coder Social home page Coder Social logo

bash-scripts's Introduction

This is a bunch of shell scripts containing useful functions aiming to deliver increased productivity.

WARNING: This toolbox is under heavy development. Expect that things change.

Design Concept

Starting from a brand new laptop with only the base operating system installed, I would like to be able to quickly have my environment setup. Then I open a new terminal window and all remaining bits are automagically configured for me. I also would like to install complex software packages easily, employing just a single command. Then I'm ready to go. The entire thing should not take more than a few minutes.

Features in a nutshell

Requirements

For the impatient

This is how I install a powerful set of functions and commands into the shell:

$ mkdir -p "$HOME/workspace"
$ git -C "$HOME/workspace" clone http://github.com/frgomes/bash-scripts

Then add a call to $HOME/workspace/bash-scripts/bashrc into your $HOME/.bashrc:

$ echo 'source $HOME/workspace/bash-scripts/bashrc' >> $HOME/.bashrc

Open a new terminal session and enjoy!

Other uses

Migration Notes

The migration procedure may be entirely removed if I do not hear from users.

This release performs migration steps if necessary, in a best effort basis, trying to make life easier for users of the previous legacy branch. This is why you may see messages such the ones below when you start a new terminal session:

cp -vp "${HOME}"/.bashrc.scripts.before "${HOME}"/.local/share/bash-scripts/postactivate/head.d/000-default.sh
cp -vp "${HOME}"/.bashrc.scripts.after  "${HOME}"/.local/share/bash-scripts/postactivate/tail.d/999-default.sh

Additional tricks

You may find useful to run something before and/or something after you load [these] scripts [provided by this package] into your terminal session.

This way, you can define defaults for environment variables before scripts run. You can also adjust keyboard configurations and other preferences after all scripts run.

More details here.

bash-scripts's People

Contributors

beantaxi avatar frgomes avatar mgunther avatar

Watchers

 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.