[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 31/117: More emcompassing shell prompt regexp
From: |
Matthew Fidler |
Subject: |
[elpa] 31/117: More emcompassing shell prompt regexp |
Date: |
Fri, 25 Jul 2014 13:24:01 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit c70e340131454f46794c536f699b08b53e164ffb
Author: Matthew L. Fidler <address@hidden>
Date: Wed Jul 16 11:33:53 2014 -0500
More emcompassing shell prompt regexp
---
ergoemacs-functions.el | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index eac8c5e..9d8a40a 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -2160,9 +2160,8 @@ Sends shell prompt string to process, then turns on
(set (make-local-variable 'dirtrack-list) (list "^PS
\\([a-zA-Z]:.*\\)>" 1))
(shell-dirtrack-mode -1)
(dirtrack-mode 1))
- (t ;; Assume PS1 compliant shell
- (setenv "PS1" "address@hidden:\\w\\$ ")
- (set (make-local-variable 'dirtrack-list) (list
"address@hidden:\\(.*\\)$" 1))
+ (t ;; Assume basic address@hidden:dir structure
+ (set (make-local-variable 'dirtrack-list) (list
"^\\(?:address@hidden)?\\(?:.*?:\\)? +\\(.*\\) +\\([$#]\\|\\]\\)" 1))
(shell-dirtrack-mode -1)
(dirtrack-mode 1))))))
- [elpa] 20/117: Add left/right to pretty key descriptions, (continued)
- [elpa] 20/117: Add left/right to pretty key descriptions, Matthew Fidler, 2014/07/25
- [elpa] 19/117: Pretty key cleanup, Matthew Fidler, 2014/07/25
- [elpa] 22/117: Fix guide-key-mode requirement, Matthew Fidler, 2014/07/25
- [elpa] 24/117: Comment ergoemacs-substitute-command-keys, Matthew Fidler, 2014/07/25
- [elpa] 21/117: Better guide-key support, Matthew Fidler, 2014/07/25
- [elpa] 25/117: Add command prompt here and powershell here, Matthew Fidler, 2014/07/25
- [elpa] 23/117: Fix (substitute-command-keys "\\[recover-session]"), Matthew Fidler, 2014/07/25
- [elpa] 27/117: Fix recursive loading in ergoemacs-mode source, Matthew Fidler, 2014/07/25
- [elpa] 30/117: Declare w32-long-file-name, Matthew Fidler, 2014/07/25
- [elpa] 29/117: Cleanup byte compile, Matthew Fidler, 2014/07/25
- [elpa] 31/117: More emcompassing shell prompt regexp,
Matthew Fidler <=
- [elpa] 26/117: Fix load dependence, See Issue #232, Matthew Fidler, 2014/07/25
- [elpa] 33/117: Added space as separtor for PS1 prompt, Matthew Fidler, 2014/07/25
- [elpa] 35/117: Remap shell to ergoemacs-shell-here, Matthew Fidler, 2014/07/25
- [elpa] 28/117: Add unix shell support, Matthew Fidler, 2014/07/25
- [elpa] 36/117: Add eshell here and powershell key, Matthew Fidler, 2014/07/25
- [elpa] 37/117: Make C-u show ergoemacs-keys when unspecified, Matthew Fidler, 2014/07/25
- [elpa] 38/117: Make ergoemacs-track use lexical scoping, Matthew Fidler, 2014/07/25
- [elpa] 39/117: Make ergoemacs-unbind lexically scoped, Matthew Fidler, 2014/07/25
- [elpa] 34/117: Use abbreviated file name for shell here, Matthew Fidler, 2014/07/25
- [elpa] 32/117: Took out space requirement for dirtrack-list, Matthew Fidler, 2014/07/25