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.
- Host: GitHub
- URL: https://github.com/richin13/fun-with-bazsh
- Owner: richin13
- License: gpl-3.0
- Created: 2016-09-12T04:58:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T06:47:37.000Z (about 9 years ago)
- Last Synced: 2025-10-12T01:42:52.512Z (9 months ago)
- Topics: bash, bash-scripting, fun
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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.