Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
midnight commander doesn't stay in directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 376

PostPosted: Fri Oct 11, 2024 1:21 pm    Post subject: midnight commander doesn't stay in directory Reply with quote

I've added
Code:
alias mc='. /usr/libexec/mc/mc-wrapper.sh'

to /etc/bash/bashrc

opening KDE Konsole and execute:

Code:
alias mc='. /usr/libexec/mc/mc-wrapper.sh'


and then
Code:
mc

neither works.

I need to change the directories with cd.
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22490

PostPosted: Fri Oct 11, 2024 3:29 pm    Post subject: Reply with quote

From the output you provided, it looks like the alias mc should be invoked. What do you see that makes you think it did not work?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum