← Winnitude! Search  ·  Reader Mode (978 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 137 LINKS

GitHub - felipefacundes/shell_utils: Shell Utils is an educational framework designed to make shell programming accessible and powerful. It is the result of extensive work over many years, now available on GitHub. With over 280 documented scripts, it caters to both beginners and advanced users. Its main differentiator is the ability to interact with the major shells: Bash, Zsh, Fish

Repository navigation

shell_utils
Public

About

Shell Utils is an educational framework designed to make shell programming accessible and powerful. It is the result of extensive work over many years, now available on GitHub. With over 280 documented scripts, it caters to both beginners and advanced users. Its main differentiator is the ability to interact with the major shells: Bash, Zsh, Fish

shellutils.github.io/

Topics

bash cli cli-app fish fish-configuration hacktoberfest oh-my-fish oh-my-zsh oh-my-zsh-plugin oh-my-zsh-theme ohmyzsh plugin-framework plugins productivity shell terminal theme themes zsh zsh-configuration

Resources

Readme GPL-3.0 license Activity

Stars

15 stars

Watchers

1 watching

Forks

2 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


863 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
aliases aliases    
ascii_arts_themes ascii_arts_themes    
books books    
database database    
dictionaries dictionaries    
frameworks frameworks    
functions functions    
grml grml    
icons icons    
manuals manuals    
modules_for_scripts modules_for_scripts    
priority priority    
scripts scripts    
sounds sounds    
utilities utilities    
variables variables    
.last_update .last_update    
.shell_utils.sh.old .shell_utils.sh.old    
.shell_utils_upgrade.sh .shell_utils_upgrade.sh    
LICENSE LICENSE    
README.md README.md    
README_es.md README_es.md    
README_pt.md README_pt.md    
aliases.fish aliases.fish    
aliases.sh aliases.sh    
functions.fish functions.fish    
functions.sh functions.sh    
install.sh install.sh    
priority.fish priority.fish    
priority.sh priority.sh    
shell_utils.fish shell_utils.fish    
shell_utils.sh shell_utils.sh    
variables.fish variables.fish    
variables.sh variables.sh    

Repository files navigation

Shell Utils Framework 🐚

A Dynamic Collection of Shell Scripts with Educational Purpose

🌟 Overview

Shell Utils is an educational framework designed to make shell programming accessible and powerful. It is the result of exhaustive work over many years, now available on GitHub. With over 400 documented scripts, it serves both beginners and advanced users. Its main differentiator is the ability to interact with the main shells: Bash, Zsh, and Fish .

This repository aims to extend the shell and contain useful and readable functions that help developers maintain their scripts more easily and organized.

✅ Includes third-party scripts, such as those from Fred's Imagemagick (credits maintained in the scripts) .

✨ Key Features

  • Dynamic recognition of scripts, functions, variables, and aliases
  • Comprehensive documentation and help menus
  • Cross-shell compatibility (fish, zsh, bash)
  • Rich collection of utility scripts
  • Educational resources and tutorials
  • Persistent folder structure for user customizations that are not affected by framework updates

📌 The help_shell script lists functions like docker_help (to assist with using docker), providing quick tutorials on Linux commands. To create a simple function, just create a function.sh file and store it in ~/.local/shell_utils/scripts/helps/. The help_shell script will be able to read them and show a complete list of pedagogical functions and much more.

📁 Directory Structure

~/.shell_utils/
├── scripts/     # Main scripts
│   ├── faqs/    # Tutorial scripts and guides
│   └── helps/   # Educational helper functions
├── functions/   # Custom functions
├── variables/   # Environment variables
└── aliases/     # Shell aliases

🛡️ Persistent Structure for Users

To ensure your customizations are preserved during automatic framework updates, use the persistent directory structure:

~/.local/share/shell_utils/
├── functions/   # Your custom functions (safe from updates)
├── variables/   # Your custom environment variables
├── aliases/     # Your custom aliases
├── priority/    # Scripts with loading priority
└── scripts/
    ├── utils/   # Your utility scripts
    └── helps/
        └── markdowns/  # Your custom documentation

🔄 How It Works:

  • ~/.shell_utils/ - Main framework (updatable via Git)
  • ~/.local/share/shell_utils/ - Your customizations (persistent and safe)
  • Loading Order : First the framework, then your customizations
  • Automatic Updates : Your files in ~/.local/shell_utils/ are never overwritten

💡 To Add Your Customizations:

# Your custom functions
vim ~/.local/shell_utils/functions/my_function.sh

# Your custom aliases  
vim ~/.local/shell_utils/aliases/my_aliases.sh

# Your environment variables
vim ~/.local/shell_utils/variables/my_variables.sh

🔧 Resources and Tools

  • Alarm : Multilingual alarm, with ability to run external commands, snooze function, and much more.
  • Markdown Reader : An enhanced markup reader combining clean formatting with optional syntax highlighting.
  • Calendar : Complete calendar with holiday support
  • Video Tools : Screen recorder and video managers
  • Audio Tools : Generate audio frequencies and sound managers
  • Image Processing Tools : Convert, resize, and manipulate images
  • Theme Management :
    • GRUB themes
    • Terminal themes
    • ASCII art collections
  • Color Utilities :
    • ANSI color palette
    • Hex to ANSI converter
  • Window Manager Tools : Support for i3, awesome, openbox, and others
  • Third-Party Tool Integration : Including scripts from "Fred's Imagemagick"

🚀 Installation

Option 1: One-Line Installation

bash -c "$(curl -fsSL https://raw.githubusercontent.com/felipefacundes/shell_utils/refs/heads/main/install.sh)"

Option 2: Manual Installation

git clone https://github.com/felipefacundes/shell_utils ~/.shell_utils
bash ~/.shell_utils/install.sh

🔄 Dependencies

The installer automatically detects your shell (fish, zsh, or bash) and installs the necessary dependencies:

  • For bash users: oh-my-bash
  • For zsh users: oh-my-zsh

🤝 Contributing

Contributions are welcome! Feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

📜 License

This project is licensed under the GPLv3 License - see the LICENSE file for details.

👏 Credits


Made with ❤️ by the Shell Utils community

Report Bug · Request Feature

About

Shell Utils is an educational framework designed to make shell programming accessible and powerful. It is the result of extensive work over many years, now available on GitHub. With over 280 documented scripts, it caters to both beginners and advanced users. Its main differentiator is the ability to interact with the major shells: Bash, Zsh, Fish

shellutils.github.io/

Topics

bash cli cli-app fish fish-configuration hacktoberfest oh-my-fish oh-my-zsh oh-my-zsh-plugin oh-my-zsh-theme ohmyzsh plugin-framework plugins productivity shell terminal theme themes zsh zsh-configuration

Resources

Readme GPL-3.0 license Activity

Stars

15 stars

Watchers

1 watching

Forks

2 forks Report repository

Releases

Packages

Contributors

Languages