enComputerevilvte
adm Find login register

evilvte in

guest
1subject: evilvte in Promote 0 Bookmark 02009-07-19quote  

 

Hi,

first of all I wanna thank you for your job - evilvte is great (it's my favourite terminal) 

However there is one thing I miss - but as I cannot name it in one  word I'll try to explain it in this post:

I use bash completion and when I write 

mount <tab><tab> 

in gnome-terminal I get list of possible mount locations from fstab (/mnt/cdrom, /boot etc.) <- it's bash-completion 

unfortunately in evilvte when I write

mount <tab><tab>

I get regular bash prompt: Display all xxx possibilities? (y or n).

So it looks like bash completion doesn't work, but when I write

su -login <username>

mount <tab><tab>

then bash-completion starts to work :)

It looks like su -login puts evilvte into some kind of "login mode" and I just wanted to ask if it's possible for evilvte to start initially in this 'login mode' ?

caleb
joined: 2007-09-22
posted: 630
promoted: 134
bookmarked: 90
2subject: evilvte in Promote 0 Bookmark 02009-07-20quote  

I think it is something like xterm -ls/+ls option.

I did want to support it but had some little problem long time ago.

I will try it again. :-)

And, you may put bash-completion to .bashrc (before evilvte support -ls/+ls option).

edited: 2
guest
3subject: Promote 0 Bookmark 02009-08-04quote  

thx for your answer :)

I've already solved my problem by adding following line to my .bashrc:

if [ $(shopt login_shell|awk '{print $2}') = "off" ]; then /bin/bash --login;fi

 it checks if we are in a login shell and if not runs bash in login mode :)

thanks once again :)

enComputerevilvte
adm Find login register
views:8525