Download Latest Version razzshell-1.0.2.tar.gz (1.1 MB)
Email in envelope

Get an email when there's a new version of razzshell

Home / v1.0.1
Name Modified Size InfoDownloads / Week
Parent folder
razzshell-1.0.1.tar.gz 2024-11-22 12.6 kB
1.0.1.tar.gz 2024-11-22 13.1 kB
1.0.1 source code.tar.gz 2024-11-22 348.6 kB
1.0.1 source code.zip 2024-11-22 348.6 kB
README.md 2024-11-22 3.7 kB
Totals: 5 Items   726.6 kB 0

Project : razzshell 1.0.1

Description: razzshell is a custom, user-friendly shell designed to provide a seamless command-line experience. It includes built-in commands, aliases, and the ability to load plugins for extending its functionality. The shell supports signal handling, job management, and advanced features such as command history and autocompletion.

Key Features:

Built-in Commands: razzshell includes a variety of built-in commands, such as cd, exit, echo, pwd, jobs, fg, bg, kill, ls, cp, mv, rm, find, cat, grep, history, touch, mkdir, rmdir, chmod, chown, ps, whoami, ping, curl, sudo, save, load, bookmark, listbookmarks, visualize, sysinfo, diskusage, cpuusage, memusage, howto, makealias, removealias, setenv, printenv, clear, today, calendar, df, du, head, tail, and wc.

Aliases: Users can create custom aliases for frequently used commands or groups of commands, making it easier to execute complex tasks with a single command.

Plugin Support: razzshell allows users to load custom plugins dynamically, extending the shell's functionality and enabling the integration of third-party tools and scripts.

Signal Handling: The shell supports signal handling for SIGINT, SIGTSTP, SIGQUIT, SIGTTIN, and SIGTTOU, providing a more robust and user-friendly experience.

Job Management: razzshell supports job management, allowing users to manage background jobs and bring them to the foreground as needed.

Command History: The shell maintains a command history, which can be accessed and navigated using the Readline library.

Autocompletion: razzshell includes an autocomplete feature that suggests possible completions for commands, making it easier to find and execute commands without needing to remember their exact names.

Customizable: Users can customize the shell's behavior and appearance by modifying the underlying functions, variables, and configuration settings.

Code Structure:

The razzshell codebase is organized into several sections, including:

Signal Handling: Functions for managing signals, such as sigint_handler and sigtstp_handler.

Job Management: Functions for managing background jobs, such as remove_job.

Built-in Commands: Functions for each built-in command, such as razz_change, razz_quit, razz_say, and others.

Plugin Management: Functions for loading and unloading plugins, such as razz_loadplugin and razz_unloadplugin.

Shell Initialization: Functions for initializing the shell, such as init_shell.

Shell Loop: The main shell loop, which handles user input, command execution, and other aspects of the shell's operation.

Shell Configuration: Configuration settings, such as MAX_ARGS, MAX_JOBS, MAX_HISTORY, MAX_BOOKMARKS, and MAX_ALIASES.

User Instructions:

Users can interact with razzshell using the provided command-line interface. To execute a command, users simply type the command and press enter. The shell will then process the command and display the output.

To load a plugin, users can use the loadplugin [plugin_path] command. To unload a plugin, users can use the unloadplugin [plugin_name] command.

Users can also create aliases for frequently used commands using the makealias command. For example, to create an alias called alias_name for the ls -la command, users can execute makealias alias_name ls -la.

Additionally, users can navigate the command history using the arrow

Download razzshell

Full Changelog: https://github.com/rajacharya987/razzshell/compare/v1.0.0...v1.0.1

Full Changelog: https://github.com/rajacharya987/razzshell/compare/v1.0.0...v1.0.1

Source: README.md, updated 2024-11-22