https://github.com/emmeowzing/bashrc
Functions and aliases I reference in my .zshrc and .bashrc
https://github.com/emmeowzing/bashrc
bash
Last synced: 4 months 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-07T03:36:13.000Z (4 months ago)
- Last Synced: 2025-03-07T04:27:39.409Z (4 months ago)
- Topics: bash
- Language: Shell
- Homepage: https://github.com/bjd2385/bashrc
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- 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.