mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* lib/mc.sh.in: Use $HOME instead of '~' because the tilde
is not expanded in all shells. * doc/mc.sgml: Updated the example script to reflect the above changes. * doc/mc.in.1: Likewise.
This commit is contained in:
parent
ed3fbae2ed
commit
15535f33a2
@ -1,3 +1,11 @@
|
|||||||
|
2000-09-21 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* lib/mc.sh.in: Use $HOME instead of '~' because the tilde
|
||||||
|
is not expanded in all shells.
|
||||||
|
* doc/mc.sgml: Updated the example script to reflect the above
|
||||||
|
changes.
|
||||||
|
* doc/mc.in.1: Likewise.
|
||||||
|
|
||||||
2000-09-19 Pavel Roskin <proski@gnu.org>
|
2000-09-19 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* lib/Makefile.in (LIBFILES_CONST): Added mc.hint.it from
|
* lib/Makefile.in (LIBFILES_CONST): Added mc.hint.it from
|
||||||
|
@ -65,9 +65,9 @@ bash and zsh users:
|
|||||||
|
|
||||||
mc ()
|
mc ()
|
||||||
{
|
{
|
||||||
mkdir -p ~/.mc/tmp 2> /dev/null
|
mkdir -p $HOME/.mc/tmp 2> /dev/null
|
||||||
chmod 700 ~/.mc/tmp
|
chmod 700 $HOME/.mc/tmp
|
||||||
MC=~/.mc/tmp/mc-$$
|
MC=$HOME/.mc/tmp/mc-$$
|
||||||
@prefix@/bin/mc -P "$@" > "$MC"
|
@prefix@/bin/mc -P "$@" > "$MC"
|
||||||
cd "`cat $MC`"
|
cd "`cat $MC`"
|
||||||
rm "$MC"
|
rm "$MC"
|
||||||
|
@ -90,9 +90,9 @@ bash and zsh users:
|
|||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
mc ()
|
mc ()
|
||||||
{
|
{
|
||||||
mkdir -p ~/.mc/tmp 2> /dev/null
|
mkdir -p $HOME/.mc/tmp 2> /dev/null
|
||||||
chmod 700 ~/.mc/tmp
|
chmod 700 $HOME/.mc/tmp
|
||||||
MC=~/.mc/tmp/mc$$-"$RANDOM"
|
MC=$HOME/.mc/tmp/mc$$-"$RANDOM"
|
||||||
@prefix@/bin/mc -P "$@" > "$MC"
|
@prefix@/bin/mc -P "$@" > "$MC"
|
||||||
cd "`cat $MC`"
|
cd "`cat $MC`"
|
||||||
rm "$MC"
|
rm "$MC"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
mc ()
|
mc ()
|
||||||
{
|
{
|
||||||
mkdir -p ~/.mc/tmp 2> /dev/null
|
mkdir -p $HOME/.mc/tmp 2> /dev/null
|
||||||
chmod 700 ~/.mc/tmp
|
chmod 700 $HOME/.mc/tmp
|
||||||
MC=~/.mc/tmp/mc-$$
|
MC=$HOME/.mc/tmp/mc-$$
|
||||||
@prefix@/bin/mc -P "$@" > "$MC"
|
@prefix@/bin/mc -P "$@" > "$MC"
|
||||||
cd "`cat $MC`"
|
cd "`cat $MC`"
|
||||||
rm "$MC"
|
rm "$MC"
|
||||||
|
Loading…
Reference in New Issue
Block a user