most of the time we work on a different directory(in terminal), at that point if you just typed nautilus, it will open your home directory but not the pwd.
and in fact my implementation is so naive, it will fail if your working directory has space characters.
So now i am using
nautilus “`pwd`”
or
nautilus “$PWD”
which is more efficient, but this one too fails if your pwd contains quote’s
isnt it better to use
nautilus .
saves some pretty typing there
LikeLiked by 1 person
most of the time we work on a different directory(in terminal), at that point if you just typed nautilus, it will open your home directory but not the pwd.
and in fact my implementation is so naive, it will fail if your working directory has space characters.
So now i am using
nautilus “`pwd`”
or
nautilus “$PWD”
which is more efficient, but this one too fails if your pwd contains quote’s
LikeLike
oops!
Its not just naultilus it is “nautilus .”
here, is automatically replaced by “$PWD” and this is also not affected by any spaces or quotes character..
LikeLiked by 1 person
wow, this is excellent,
how come i forget about that? 😦
you are too cool bro!
LikeLike