diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-26 01:39:14 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-26 01:39:14 +0100 |
commit | b3f78e588b55e8676997377b14868689986b12a9 (patch) | |
tree | f99511ee6c5fa07e18c4d0e1f3131690cd44dd6b | |
parent | d59c38f1342b061d7e71b4e565948436ca676780 (diff) | |
download | dotfiles-b3f78e588b55e8676997377b14868689986b12a9.tar.gz dotfiles-b3f78e588b55e8676997377b14868689986b12a9.tar.bz2 dotfiles-b3f78e588b55e8676997377b14868689986b12a9.zip |
(Emacs|Scripts)~minor edits
(Emacs)~changed some descriptions, formatting, edits of assigned
functions
(Scripts)~allow psearch to use all arguments supplied rather than just
the first one (pacman -Ss actually greedily consumes all arguments
given as part of the search)
-rw-r--r-- | Emacs/.config/emacs/config.org | 16 | ||||
-rw-r--r-- | Shell/.zshrc | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index ec1945a..a67ee2a 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2498,14 +2498,17 @@ mouthful). It's quite a beautiful language and really learning it will change the way you think about programming. Here I configure the REPL for Haskell via the -=interactive-haskell-mode= as well. +=haskell-interactive-mode= as well. #+begin_src emacs-lisp (use-package haskell-mode :hook (haskell-mode-hook . haskell-indentation-mode) (haskell-mode-hook . interactive-haskell-mode) :custom + (haskell-interactive-prompt "[λ] ") + (haskell-interactive-prompt-cont "{λ} ") (haskell-interactive-popup-errors nil) + (haskell-stylish-on-save nil) (haskell-process-type 'stack-ghci) :general (leader @@ -2518,7 +2521,7 @@ Here I configure the REPL for Haskell via the (+dx/create-toggle-function +shell/toggle-haskell-repl "*haskell*" - haskell-process-restart)) + haskell-interactive-bring)) #+end_src ** Python Basic, haven't used python in this configuration yet. @@ -2555,15 +2558,16 @@ Setup for python shell, including a toggle option :commands +python/toggle-repl :general (leader - "tp" #'+python/toggle-repl) + "tp" #'+shell/python-toggle-repl) :display ("\\*Python\\*" (display-buffer-at-bottom) (window-height . 0.25)) :config - (+dx/create-toggle-function +python/toggle-repl - "*Python*" - run-python)) + (+dx/create-toggle-function + +shell/python-toggle-repl + "*Python*" + run-python)) #+end_src ** YAML YAML is a data language which is useful for config files. diff --git a/Shell/.zshrc b/Shell/.zshrc index 117af9a..15df5f7 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -28,7 +28,7 @@ ef () { } psearch () { - pacman -Ss $1 | less + pacman -Ss $@ | less } ### Git aliases |