Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmeowzing/bashrc
Functions and aliases I reference in my .zshrc and .bashrc
https://github.com/emmeowzing/bashrc
bash
Last synced: 10 days ago
JSON representation
Functions and aliases I reference in my .zshrc and .bashrc
- Host: GitHub
- URL: https://github.com/emmeowzing/bashrc
- Owner: emmeowzing
- Created: 2020-12-26T02:22:48.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-25T00:45:10.000Z (13 days ago)
- Last Synced: 2024-10-26T13:48:52.603Z (11 days ago)
- Topics: bash
- Language: Shell
- Homepage: https://github.com/bjd2385/bashrc
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### bashrc
A place where I store my custom `.bashrc` functions and aliased shortcuts.
Most of these have been written with a very narrow application in mind. For example,
`allocate` just creates a raw, empty, virtual disk (with `dd`) in a ZFS mount point
that I can then reference in a qemu XML template (I tend to do this a lot, so it
saves me time).#### How I use them
I'll typically clone out this repo, then link
```shell script
ln -s /path/to/repo/.bash_functions.sh ~/.bash_functions
ln -s /path/to/repo/.bash_aliases.sh ~/.bash_aliases
```
and, finally,
```shell script
printf "source ~/.bash_functions\\n" >> ~/.bashrc
```
so that it may be referenced (`.bash_aliases` is automatically loaded), and updates captured over the links.Or, simply run `./link.sh`, which attempts to perform these tasks for you in a safe manner.