]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
minor improvements
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 12 Oct 2015 15:47:43 +0000 (17:47 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 12 Oct 2015 15:47:43 +0000 (17:47 +0200)
- engine-mode: open google in external browser.
- eshell: added aliases for find-file.
- env variable: set LANG.

bba.org

diff --git a/bba.org b/bba.org
index b4c5fe691080df5eff7804ce25f71634d6b05330..b829699c45f68910d0495eda3d95e01097fe83e4 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -84,6 +84,9 @@ from bash.
                     (append
                      (split-string-and-unquote path ":")
                      exec-path)))
+            (let ((path (shell-command-to-string ". ~/.bashrc >/dev/null; echo -n $LANG")))
+              (setenv "LANG" path)
+              )
             (let ((path (shell-command-to-string ". ~/.bashrc >/dev/null; echo -n $ORACLE_HOME")))
               (setenv "ORACLE_HOME" path)
               )
@@ -276,7 +279,6 @@ search the web on your fingertips. C-c /.
 
             (defengine google
               "http://www.google.com/?q=%s"
-              :browser 'eww-browse-url
               :keybinding "g"
               )
 
@@ -1593,6 +1595,14 @@ window-total-height.
 
 #+END_SRC
 
+Want to have some [[http://www.emacswiki.org/emacs/EshellAlias][shell aliases]], right?
+
+#+BEGIN_SRC emacs-lisp
+    (defalias 'e 'find-file)
+    (defalias 'ff 'find-file)
+    (defalias 'emacs 'find-file)
+#+END_SRC
+
 * [[http://stackoverflow.com/questions/3035337/in-emacs-can-you-evaluate-an-emacs-lisp-expression-and-replace-it-with-the-resul][eval emacs lisp expression and replace it]]
     [2014-11-02 Sun 18:21]