Variable: ffap-shell-prompt-regexp
ffap-shell-prompt-regexp is a customizable variable defined in
ffap.el.gz.
Value
"[$%><]*"
Documentation
Paths matching this regexp are stripped off the shell prompt.
If nil, ffap doesn't do shell prompt stripping.
Source Code
;; Defined in /usr/src/emacs/lisp/ffap.el.gz
(defcustom ffap-shell-prompt-regexp
;; This used to test for some shell prompts that don't have a space
;; after them. The common root shell prompt (#) is not listed since it
;; also doubles up as a valid URL character.
"[$%><]*"
"Paths matching this regexp are stripped off the shell prompt.
If nil, ffap doesn't do shell prompt stripping."
:type '(choice (const :tag "Disable" nil)
(const :tag "Standard" "[$%><]*")
regexp)
:group 'ffap)