On 10/17/2014 04:49 PM, Erwin Waterlander wrote:
The two persons can set a different WCDHOME variable. They would need to do that already if they don't want to share the (extra) tree data, bans, excludes, aliases, and stack. The two users would need to make some personal setup on the shared account anyway, for instance for their personal aliases or vim editor settings.
Why? I mean all of them can use the same settings for that single account, and they can simultaneously run vim, the aliases ... but not wcd. ;-/ Couldn't it just write to stdout? wcd () { local out="$( env wcd "$@")" || return test "$out" && eval "$out" } (I didn't look at wcd too much - especially the output, so eval might be the wrong approach. It must be more complicated, otherwise directly cd-ing to "$out" would be the obvious way.) Have a nice day, Berny -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org