aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/faq.hdr
diff options
context:
space:
mode:
authorGravatar David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>2013-05-10 22:44:46 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-05-13 01:48:20 -0700
commite921dc50e0e5a901d0cee9c4b724b3034d6bc260 (patch)
treef8a53a0233373685da28d7ec5a73e1768d1c7705 /doc_src/faq.hdr
parentdd6bb04ba7de2e8f7607935c8a370c0b726d4c2a (diff)
FAQ updates - implicit cd and autosuggestions
Diffstat (limited to 'doc_src/faq.hdr')
-rw-r--r--doc_src/faq.hdr22
1 files changed, 5 insertions, 17 deletions
diff --git a/doc_src/faq.hdr b/doc_src/faq.hdr
index 07c763ab..fa3bc314 100644
--- a/doc_src/faq.hdr
+++ b/doc_src/faq.hdr
@@ -1,7 +1,6 @@
/** \page faq Frequently asked questions
- <a href='#faq-cwd-symlink'>Why does cd, pwd and other fish commands always resolve symlinked directories to their canonical path?</a>
-- <a href='#faq-cd-autocomplete'>Why does the cd command autocompletion list the subdirectories of my home directory as completions?</a>
- <a href='#faq-cd-implicit'>I accidentally entered a directory path and fish changed directory. What happened?</a>
- <a href='#faq-open'>The open command doesn't work.</a>
- <a href='#faq-default'>How do I make fish my default shell?</a>
@@ -42,19 +41,9 @@ silently fails in shells that don't resolve symlinked paths.
<hr>
-\section faq-cd-autocomplete Why does the cd command autocompletion list the subdirectories of my home directory as completions?
-
-Because they are completions. In fish, if you specify a relative
-directory to the cd command, i.e. any path that does not start with
-either './' or '/', the environment variable CDPATH will be examined, and any
-directories in this path is used as a base directory. To disable this
-feature, write <code>set CDPATH .</code> on the commandline.
-
-<hr>
-
\section faq-cd-implicit I accidentally entered a directory path and fish changed directory. What happened?
-If fish is unable to locate a command with a given name, fish will
+If fish is unable to locate a command with a given name, and it starts with '.', '/' or '~', fish will
test if a directory of that name exists. If it does, it is implicitly
assumed that you want to change working directory. For example, the
fastest way to switch to your home directory is to simply press
@@ -64,13 +53,12 @@ fastest way to switch to your home directory is to simply press
\section faq-open The open command doesn't work.
-The open command uses the mimetype database and the .desktop files
+The \c open command uses the MIME type database and the <code>.desktop</code> files
used by Gnome and KDE to identify filetypes and default actions. If
-at least one of these two desktops are installed, but the open command is
+at least one of these environments is installed, but the open command is
not working, this probably means that the relevant files are installed
-in a nonstandard location. Please contact the <a
-href='mailto:fish-users@lists.sf.net'>fish mailing list</a>, and
-hopefully this can be resolved.
+in a non-standard location. Consider <a href="index.html#more-help">asking for
+more help</a>.
<hr>