Re: Re: Patch (tiny): \cd (change dir) for psql. - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Re: Patch (tiny): \cd (change dir) for psql.
Date
Msg-id Pine.LNX.4.30.0103271932510.1215-100000@peter.localdomain
Whole thread Raw
In response to Re: Re: Patch (tiny): \cd (change dir) for psql.  (will trillich <will@serensoft.com>)
List pgsql-general
will trillich writes:

> and with it i'd imagine we'll also need
>
>     # return to previous directory, for the lazy
>     \cd -
>     # show current working directory
>     \cwd
>     \pwd

You can do this with

\!pwd

(Of course \!cd won't do what you want.  This situation is similar to an
ftp client.)

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: will trillich
Date:
Subject: Re: Re: Patch (tiny): \cd (change dir) for psql.
Next
From: Vince Vielhaber
Date:
Subject: Re: download PostgreSQL