See also: http://lists.gnu.org/archive/html/bug-bash/2007-12/msg00003.html

On Thu, Jun 26, 2014 at 11:45 AM, Egmont Koblinger <[email protected]> wrote:
> You can use a space instead of '=', i.e.:
> gnome-terminal --working-directory ~/Storage
> It'll work as you'd expect.
>
> It's a feature of the *shell* that it looks up the home directory if
> the '~' is the first character of a word.  If you use '=' as separator
> then '~' is not the first character and hence the shell doesn't expand
> it.
>
> The '~' itself, when literally part of a filename, does not refer to a
> home directory and should remain a literal '~'.  It's only the shell
> (and a few more apps that deliberately choose to mimic the shell's
> behavior) that treats '~' specially.
>
> So, gnome-terminal works as expected.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to