Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clayrisser/eternal-utils
Eternally persist exported environment variables, aliases and sources
https://github.com/clayrisser/eternal-utils
alias eternal export linux permenant unalias unix unset util
Last synced: 16 days ago
JSON representation
Eternally persist exported environment variables, aliases and sources
- Host: GitHub
- URL: https://github.com/clayrisser/eternal-utils
- Owner: clayrisser
- License: mit
- Created: 2018-06-06T07:49:25.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T09:56:03.000Z (over 1 year ago)
- Last Synced: 2024-10-07T08:41:33.338Z (about 1 month ago)
- Topics: alias, eternal, export, linux, permenant, unalias, unix, unset, util
- Language: C
- Homepage: https://codejam.ninja
- Size: 489 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# eternal-utils
[![GitHub stars](https://img.shields.io/github/stars/codejamninja/eternal-utils.svg?style=social&label=Stars)](https://github.com/codejamninja/eternal-utils)
> Eternally persist exported environment variables and aliases
Please ★ this repo if you found it useful ★ ★ ★
![](assets/eternal-utils.png)
## Features
* Persist environment variables eternally
* Persist aliases eternally
* Persist sources eternally
* Remove persisted environment variables
* Remove persisted aliases
* Remove persisted sources
* Compatible with bash
* Compatible with zsh## Installation
### Mac OS X
#### Compile from source
```sh
brew install glib make
curl -LO \
https://github.com/codejamninja/eternal-utils/releases/download/0.2.1/eternal-utils_0.2.1.tar.gz
tar -xzvf eternal-utils_0.2.1.tar.gz
cd eternal-utils
./configure
make
sudo make install
```### Ubuntu Linux
#### APT package manager
```sh
sudo add-apt-repository ppa:codejamninja/jam-os
sudo apt-get update
sudo apt-get install eternal-utils
```#### Compile from source
```sh
sudo apt-get install -y libglib2.0-dev build-essential make
curl -LO \
https://github.com/codejamninja/eternal-utils/releases/download/0.2.1/eternal-utils_0.2.1.tar.gz
tar -xzvf eternal-utils_0.2.1.tar.gz
cd eternal-utils
./configure
make
sudo make install
```## Usage
### Eternal export
```sh
eternal-export HELLO=world
```### Eternal unset
```sh
eternal-unset HELLO
```### Eternal alias
```sh
eternal-alias hello="echo world"
```### Eternal unalias
```sh
eternal-unalias hello
```### Eternal source
```sh
eternal-source ~/.hello.sh
```### Eternal unsource
```sh
eternal-unsource ~/.hello.sh
```## Support
Submit an [issue](https://github.com/codejamninja/eternal-utils/issues/new)
## Contributing
Review the [guidelines for contributing](https://github.com/codejamninja/eternal-utils/blob/master/CONTRIBUTING.md)
## License
[MIT License](https://github.com/codejamninja/eternal-utils/blob/master/LICENSE)
[Jam Risser](https://codejam.ninja) © 2018
## Changelog
Review the [changelog](https://github.com/codejamninja/eternal-utils/blob/master/CHANGELOG.md)
## Credits
* [Jam Risser](https://codejam.ninja) - Author
## Support on Liberapay
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
[Add some fuel](https://liberapay.com/codejamninja/donate) if you'd like to keep me going!
[![Liberapay receiving](https://img.shields.io/liberapay/receives/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)
[![Liberapay patrons](https://img.shields.io/liberapay/patrons/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)