Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Backup
Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.bash_aliases
.bash_logout
.bashrc
.gitignore
README.md
bash_flags
fuzzy_file
gg_replace
mass_update

README.md

bash

A few random bash scripts I'm working on, including some from others.

  • gg_replace courtesy of Jonathan Camenish (github.com/jcamenisch)
  • fuzzy_file currently pipes first file found by fuzzy-match in /app/ folder into reader. compatible with darwin and removes extra '-e' files
  • .bashrc (recommend you hardlink this one to your HOME folder's) pulls in credentials for another YAML file

Usage

Clone this into a repo NOT in your HOME directory:

$ cd ~/bash
$ git clone git@github.com:ZhangBanger/bash.git

Replace your HOME folder's bashrc with a hard link to this one

$ rm -f ~/.bashrc
$ ln ~/bash/scripts/.bashrc ~/.bashrc

Create a credentials YAML gist and curl the raw version down to your scripts dir (which already gitignores it):

$ cd ~/bash/scripts/
$ curl https://gist.github.com/raw/blahblah1234blahblah/blahblah123452blahblah/credentials.yml > credentials.yml

TODO:

  • fuzzy_file:
    • Match first file not in /tmp/ folder, rather than only in app'
    • Create selector in bash to pick the file you want to view
Something went wrong with that request. Please try again.