An open API service indexing awesome lists of open source software.

https://github.com/richin13/fun-with-bazsh

A collection of ridiculously simple (zsh)bash scripts made merely for fun.
https://github.com/richin13/fun-with-bazsh

bash bash-scripting fun

Last synced: 2 months ago
JSON representation

A collection of ridiculously simple (zsh)bash scripts made merely for fun.

Awesome Lists containing this project

README

          

# fun-with-bazsh

dump of dummy bash/zsh scripts

## pa-translator.sh

Takes an airplane registration number and prints all the code words.
For example, input TI-BAZ would outpu Tango - India - Bravo - Alpha - Zulu

## cd-wrapper.sh

wraps the unix cd (change directory) tool and aliases it to a function
that instead of only cd'ing, checks if the directory exists, if it
doesn't, then creates it to finally invoke original cd

## search-alias.sh

It shows all the aliases defined that contains the provided
keyword(s).
Useful when you use oh-my-zsh plugins that define a bunch of new aliases
(git-extras for example) and you don't know all of them but deep inside you
want to learn them.

## backup.sh

It takes a file and creates an exact copy of it with the
current date and hour appended to the file's original name.
Additionally, it offers a 'restore' command which does
the exact reverse proccess: it takes a backup copy of a file
and restores it.