Variable: shell-file-name-chars

shell-file-name-chars is a customizable variable defined in shell.el.gz.

Value

"[]~/A-Za-z0-9+@:_.$#%,={}-"

Documentation

String of characters valid in a file name.

This variable is used to initialize comint-file-name-chars in the shell buffer. The value may depend on the operating system or shell.

Source Code

;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defcustom shell-file-name-chars
  (if (memq system-type '(ms-dos windows-nt cygwin))
      "~/A-Za-z0-9_^$!#%&{}@`'.,:()-"
    "[]~/A-Za-z0-9+@:_.$#%,={}-")
  "String of characters valid in a file name.
This variable is used to initialize `comint-file-name-chars' in the
shell buffer.  The value may depend on the operating system or shell."
  :type 'string
  :group 'shell)