There are some additional ways to configure the behaviour of application themes in bashish.
The application themes are activated by an alias or a function set to the command name.
Some users need to bind a command sequence or special variables to the command name alias, this is accomplished in bashish by creating a file named 'command' in $BASHISH_USERDIR/bt/app/<APPNAME>/ <APPNAME> is the desired application. The 'command' file should include any options or pre-variable settings needed.
Eg. The user Zhang Le reported that bashish interfered with his vim alias: alias vim='LC_ALL=C vim'
To restore the functionality in bashish, create the command file:
LC_ALL=C vim
- end -
foo -b ; bar -x 4
- end -
In bash and zsh (_not_ in ksh) one can choose wether the application theme should be activated as an alias or a function.
If the command is invoked with an alias, the theme will not be able to parse command options, eg to create spiffy titles. On the contrary, if the command is invoked via a function, the command will not handle filenames with whitespaces correctly (note that this is not true in 'rc' ).
Using aliases is the default on bash and zsh. To enable use of functions for a certain command, create an empty file named function in $BASHISH_USERDIR/bt/app/<APPNAME>/ (where <APPNAME> should be replaced with the themed application).
Thomas Eriksson 2004-06-23