COMMANDS
This module contains some usefull routines, supplying functionality similar to regular built-ins for bash(1). When possible implements same options as bash for compatibility.
Commands
- _delete_object ZOIDNAME
-
Delete object (plugin) known as ZOIDNAME. Be carefull -- this can delete core funtions.
- _hide THING
-
Hide THING from non-naked zoid namespace.
- _load_object ZOIDNAME CLASS
-
Initialise object of CLASS under name ZOIDNAME. Objects should be true object-oriented (ie. they should have e routine 'new')
- _unhide THING
-
Opposite of "_hide", add THING to non-naked zoid namespace.
- cd DIR
-
Change your present working directory.
- back, forw
-
Go back/forward to a previous/next directory. Think like back and forward like in a browser.
- echo STRING
-
Just print string -- no fancy options.
- eval CODE
-
Execute CODE and return the exit status.
- exec CODE
-
Like eval but quits zoid with exit status.
- pwd
-
Print present working directory.
- quit
-
Quit zoid -- same as Ctrl-d from Buffer.
- set
- set NAME=VALUE
- set NAME VALUE
- set NAME++
-
Command to manipulate
%settings
. If called without arguments set will print the names and values of all shell variables. - setenv VAR=VALUE
-
Like
export
in most shells. Same as$ENV{$var} = $value
. - source FILE
-
NOT compatible with posix shells
Basicly the same as
do FILE
in perl. FILE is supposed to be a perl script and could be using Zoidberg::Shell.