summary refs log tree commit diff
path: root/emacs/custom/fcuny-eshell.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rename a few more librariesFranck Cuny2022-03-231-231/+0
|
* eshell: make flymake happyFranck Cuny2022-03-221-15/+33
|
* eshell: run `ls -l` after entering a directoryFranck Cuny2022-01-211-0/+2
|
* eshell: add the host's name in the promptFranck Cuny2021-12-181-2/+3
| | | | | The name of the host is added at the beginning of the prompt, and a background color is set to make it obvious.
* emacs: try to fix promptFranck Cuny2021-11-291-3/+3
|
* emacs: split horizontally to create eshell bufferFranck Cuny2021-10-271-3/+2
|
* eshell: open file at pointFranck Cuny2021-10-271-1/+22
| | | | | | | | | | Add a function to open the file at point. In an eshell session, I can then move the cursor to a file or a directory, and call `fcuny/eshell-open-file-at-point`: for a file, a new buffer is open, if it's a directory, we're changing the working directory to the given path. Bind the function to "C-o" in eshell.
* emacs: add alias for ls -lFranck Cuny2021-10-201-0/+1
|
* emacs: start a shell when configuration is loadedFranck Cuny2021-10-181-0/+6
| | | | | Once the initialization of our configuration is done, we start a shell session with `eshell'.
* emacs: set eshell-prompt-regexpFranck Cuny2021-10-171-0/+1
| | | | Otherwise the shell freeze every now and then.
* emacs: different prompt when on a remote hostFranck Cuny2021-10-171-3/+7
| | | | | Replace the prompt with `@<hostname>' when our current eshell path is on a remote host.
* emacs: add binding for counsel-esh-historyFranck Cuny2021-10-171-1/+2
| | | | | The default one is not working, and I don't think it's obvious to me what it was anyway.
* emacs: custom prompt for eshellFranck Cuny2021-10-171-0/+33
|
* emacs: add function to export eshell outputFranck Cuny2021-10-171-1/+32
| | | | | | | | Add a new function (and a new binding) to export the latest output from eshell to a buffer. The code comes from https://gitlab.com/protesilaos/dotfiles/-/blob/master/emacs/.emacs.d/prot-lisp/prot-eshell.el#L114
* emacs: set `eshell-cd-on-directory` to trueFranck Cuny2021-10-171-0/+1
|
* emacs: add a few more aliases to eshellFranck Cuny2021-10-171-1/+8
|
* emacs: be explicit about eshell modules we loadFranck Cuny2021-10-171-4/+26
|
* emacs: some eshell tweaksFranck Cuny2021-09-241-3/+7
|
* emacs: add package eshell-bookmarkFranck Cuny2021-09-241-0/+6
|
* emacs: rename eshell bufferFranck Cuny2021-08-051-1/+6
| | | | | When creating a new buffer for eshell with `fcuny/eshell-here` rename the buffer using parts of the directory.
* emacs: eshell smart displayFranck Cuny2021-08-051-1/+9
| | | | From https://www.masteringemacs.org/article/complete-guide-mastering-eshell
* emacs: track command's execution time in eshellFranck Cuny2021-08-051-29/+50
| | | | | | | | | With zsh I report how long a command takes to execute when it takes more than a few seconds, and it's pretty useful. This article [1] shows how to do the same with eshell. [1] https://www.birkey.co/2021-06-20-why-eshell-part-1.html
* emacs: eshell aliasFranck Cuny2021-02-161-1/+1
|
* emacs: rename the directoryFranck Cuny2021-01-041-0/+39