A perl shell with sqlite history and environment variables
Find a file
2025-04-14 15:24:59 -05:00
lib save point working environment variables 2025-04-13 23:25:56 -05:00
.gitignore git ignore updated excluding history and env dbs 2025-04-14 11:43:23 -05:00
.windsurfrules initial add 2025-04-13 21:37:36 -05:00
Makefile.PL Add File::HomeDir and Environment::SQLite dependencies to Makefile.PL 2025-04-14 11:57:09 -05:00
pshell.pl Add signal handlers for SIGINT, SIGCHLD and terminal resize events 2025-04-14 15:24:59 -05:00
pshell_env.db save point working environment variables 2025-04-13 23:25:56 -05:00
pshell_history.db save point 2025-04-13 21:44:48 -05:00
README.md Add environment variable support and SQLite storage 2025-04-14 12:07:26 -05:00

Perl Shell (pshell)

A modular Perl shell with SQLite command history and environment variables.

Features

  • Executes shell commands
  • Logs all commands to SQLite database
  • Stores environment variables in SQLite database
  • Modular design for easy extension

Installation

  1. Install dependencies:

    cpanm --installdeps .
    
  2. Make the shell executable:

    chmod +x pshell.pl
    
  3. Run the shell:

    ./pshell.pl
    

Usage

  • Type commands as you would in a normal shell
  • Type 'exit' to quit
  • Command history is stored in pshell_history.db