Hi all,

I'd like to use TRAMP [1], but it seems not to work. I suspect it's
fish's fancy default prompt's fault, so I'd like to replace it with a
very simple prompt when TERM="dumb". Basically "> " would be fine
enough.

So I've put this into my config.fish:

,----
| if [ $TERM = 'dumb' ]
|   function fish_prompt -d "Write out the prompt"
|         printf '> '
|   end
| end
`----

But that gives an error:

,----
| [EMAIL PROTECTED] ~> env TERM="dumb" fish
| Welcome to fish, the friendly interactive shell
| Type help for instructions on how to use fish
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| fish [0x8072eed]
| > fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| fish [0x8072eed]
| efish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| fish [0x8072eed]
| exfish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| fish [0x8072eed]
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| fish [0x8072eed]
| exifish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| fish [0x8072eed]
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| fish [0x8072eed]
| fish: function writembs called with null value for argument str.
| fish: This is a bug. If you can reproduce it, please send a bug report to 
[EMAIL PROTECTED]
| fish: Backtrace:
| fish [0x8072eed]
| exit
| 
| Good bye
`----

What's wrong with it?

I'm using a current darcs checkout.

Much thanks in advance,
Tassilo
__________
[1] http://www.gnu.org/software/tramp/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to