I'm using fish version 2.7.1 running on Fedora 29 x86_64.
Let's say for example that I create a directory like this:
this creates a directory called -mydirectory (note that its name begins with the - character)
now I want to go to that directory.
If I try to run:
it fails with:
cd: Unknown option '-mydirectory/'
/usr/share/fish/functions/cd.fish (line 30):
builtin cd $argv
^
in function 'cd'
called on standard input
with parameter list '-mydirectory/'
ok, let's try with:
and it fails with the error:
Too many args for cd command
So I don't know any other method to cd to that directory
I'm using fish version 2.7.1 running on Fedora 29 x86_64.
Let's say for example that I create a directory like this:
this creates a directory called -mydirectory (note that its name begins with the
-character)now I want to go to that directory.
If I try to run:
it fails with:
ok, let's try with:
and it fails with the error:
So I don't know any other method to cd to that directory