[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 28/117: Add unix shell support
From: |
Matthew Fidler |
Subject: |
[elpa] 28/117: Add unix shell support |
Date: |
Fri, 25 Jul 2014 13:24:00 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit f84d09c326033b7f7265a8acafb01da06e82fbc0
Author: Matthew L. Fidler <address@hidden>
Date: Wed Jul 16 10:46:09 2014 -0500
Add unix shell support
---
ergoemacs-functions.el | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index 53355b5..d7afeaf 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -2157,6 +2157,11 @@ Sends shell prompt string to process, then turns on
((string-match "powershell.exe" shell)
(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))
+ (shell-dirtrack-mode -1)
(dirtrack-mode 1))))))
(add-hook 'shell-mode-hook 'ergoemacs-shell-here-hook)
- [elpa] 21/117: Better guide-key support, (continued)
- [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, 2014/07/25
- [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 <=
- [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
- [elpa] 41/117: Remove remnants of original local-set-key advice., Matthew Fidler, 2014/07/25
- [elpa] 42/117: Possibly address Issue #276, Matthew Fidler, 2014/07/25
- [elpa] 40/117: Make ergoemacs-shortcuts lexically scoped, Matthew Fidler, 2014/07/25
- [elpa] 45/117: Merge pull request #277 from pdg137/patch-1, Matthew Fidler, 2014/07/25