Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An experimental interconnected shell

NotificationsYou must be signed in to change notification settings

pmsanford/psh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an experimental shell, partly inspired bythis blog post about a much more ambitious shell. Being experimental, this is not suitable for day to day use.

Features:

  • Aliases, accessed and created by thealias command.
  • History and hints, provided by rustyline, accessed by pressing up at the command line (for history) and pressing right (for accepting hints)
  • Cross-shell environment variable access, provided by thediffenv andcopyenv commands.
  • Cross-shell status information, provided by thepshl command.
  • Remotely setting environment variables for the parent shell of other scripts and programs using thesetenv utility (which allows me to avoid creating a scripting language - you can just write your pshrc in bash and callsetenv to set variables in the parent environment)

Here's an example of these being used together: You've got a long-running process you don't want to kill, but it would be a pain to recreate parts of that environment to run another process. Or maybe you've had a process running for a long time and can't remember exactly how you configured its environment.

image

About

An experimental interconnected shell

Resources

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp