Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-paternostro/shelltools
A collection of shell tools I've created for fun and productivity.
https://github.com/m-paternostro/shelltools
docker fzf fzf-scripts podman shell shell-script zsh
Last synced: 10 days ago
JSON representation
A collection of shell tools I've created for fun and productivity.
- Host: GitHub
- URL: https://github.com/m-paternostro/shelltools
- Owner: m-paternostro
- License: mit
- Created: 2022-01-16T21:13:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-17T17:14:33.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T02:34:16.824Z (26 days ago)
- Topics: docker, fzf, fzf-scripts, podman, shell, shell-script, zsh
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shell Tools
A collection of shell tools I've created for fun and productivity.
## fzfcontainer
* Manages containers, images, networks, and volumes using FZF.
* Requirements:
* [Z Shell](https://en.wikipedia.org/wiki/Z_shell)
* [Docker](https://www.docker.com/) or [Podman](https://podman.io/)
* [FZF](https://github.com/junegunn/fzf)
* [Bat](https://github.com/sharkdp/bat)
* Tested Environments:
* Mac (Big Sur and Monterey)
* [Arch Linux](https://archlinux.org)* Instructions:
* Copy the contents of the [fzfcontainer directory](./fzfcontainer) into a directory.
* See [path.sh](#pathsh) if you intend to use all shell tools.
* Use it ;-)```bash
# Manages containers.
./fzfcontainer# Manages images.
./fzfcontainer i# Manages networks.
./fzfcontainer n# Manages volumes.
./fzfcontainer v
```## path.sh
* Adds the shell tools to the path.
* Tested Environments:
* Mac (Big Sur and Monterey)
* [Arch Linux](https://archlinux.org)
* Instructions:
* Direct invocation to change the path of the current shell.```bash
# Clones the repository.
git clone https://github.com/m-paternostro/shelltools.git# Adds the shell tools to the path.
source shelltools/path.sh
```* Adding it to `~/.zshrc`
* This is how I am using the script.
* It assumes the repository was cloned into `~/bin`.```bash
# Adds the shell tools to the path.
[[ -d ~/bin/shelltools ]] && source ~/bin/shelltools/path.sh
```## License
Everything we produced here is licensed under the [MIT License](./LICENSE).