You are not logged in.

#1 2013-09-04 12:18:27

CyberJack
Member
From: Netherlands
Registered: 2013-09-04
Posts: 4
Website

[SOLVED]Midnight commander losing ZSH settings (aliases and functions)

Hello,

I'm using ZSH on my home server and I have some problems using Midnight Commander.
When I start Midnight Commander my aliases and functions are not available.

When running the alias command (not running mc) I see a complete list of all my aliases.

`--> alias
_=sudo
dir='dir --color=auto'
ebuild='nocorrect ebuild'
egrep='egrep --color=auto'
fgrep='fgrep --color=auto'
gist='nocorrect gist'
globurl='noglob urlglobber '
grep='grep --color=auto'
... (and a lot more)

When I run the same command from within mc I only see 2 aliases

$ alias
run-help=man
which-command=whence

Now for the strange part.
I have a few other machines all running a debian based system (running debian, ubuntu server and kubuntu desktop)
On these other machines the problem does not occur and I can use all my aliases and functions.

I use the same zsh configuration for all the machines (loading different aliases based on the os).
The configuration is only located in my user directory, so it's not globally available.

I just noticed this behaviour a few weeks ago, but also installing older versions (with removing global en local configs) does not fix the problem.
Also google isn't much help because all I find are old topics about ZSH not being supported.

Is there a way to get my aliases and functions working while using ZSH and MC?

Edit: Don't know why but I had to force a reboot to get things back to normal.

Last edited by CyberJack (2013-09-04 18:42:47)

Offline

Board footer

Powered by FluxBB