View previous topic :: View next topic |
Author |
Message |
ema Guru
Joined: 27 Aug 2003 Posts: 380
|
Posted: Sun May 16, 2004 11:55 am Post subject: Midnight commander e chdir [risolto] |
|
|
una domandina veloce veloce su midnight commander....
su altre distro tipo suse, quando esco da mc mi rimane nell'ultima dir dove sono entrato col programma, mentre su gentoo torna a quella dov'era quando ho lanciato mc. ho letto facendo l'emerge che c'è da modificare un file per attivare questa feature, ma non c'ho capito molto! qualcuno ha risolto in qualche modo?
tyia
Last edited by ema on Sun May 16, 2004 2:28 pm; edited 1 time in total |
|
Back to top |
|
|
Gyrus Apprentice
Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Sun May 16, 2004 12:36 pm Post subject: |
|
|
Non so ... io uso CTRL + o per risolvere il problema.
Gyrus |
|
Back to top |
|
|
neon l33t
Joined: 04 Aug 2003 Posts: 759 Location: Catania, Italy, Europe
|
Posted: Sun May 16, 2004 1:02 pm Post subject: |
|
|
Quote: | Add the following line to your ~/.bashrc to
allow mc to chdir to its latest working dir at exit
# Midnight Commander chdir enhancement
if [ -f /usr/share/mc/mc.gentoo ]; then
. /usr/share/mc/mc.gentoo
fi
|
Questo era il messaggio che compare alla fine dell'ebuild, non mi pare ci sia molto da spiegare. Aggiungi:
Code: | if [ -f /usr/share/mc/mc.gentoo ]; then
. /usr/share/mc/mc.gentoo
fi |
alla fine di ~/.bashrc
_________________ Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson
LINEE GUIDA DEL FORUM |
|
Back to top |
|
|
ema Guru
Joined: 27 Aug 2003 Posts: 380
|
Posted: Sun May 16, 2004 2:27 pm Post subject: |
|
|
in effetti è quello che avevo fatto.... solo che non funzionava!
però rifacendolo ora...bho! funzia!
tanto meglio, e grazie ancora! |
|
Back to top |
|
|
|