summaryrefslogtreecommitdiff
path: root/emacs/custom/my-eshell.el (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-01-22ref(eshell): remove unnecessary variablesFranck Cuny1-10/+1
Some of the variables where related to eshell-smart, which I don't use. Change-Id: If983883a3275b6f6de58c56105c2fbea1c388c20
2022-11-15fix(eshell): don't set the color for the promptFranck Cuny1-1/+2
Change-Id: I43a450d0d0c5d109aadcf6dd6961cdf719d49121
2022-11-15fix(eshell): don't set the foreground colorFranck Cuny1-6/+1
Let the theme handle that. Change-Id: I9a1b5ec6d48e0f059a15c8632411204c141ade07
2022-11-15fix(eshell): use correct functionFranck Cuny1-2/+2
`point-at-bol` is deprecated and `pos-bol` is recommended. Change-Id: I2a447ca5832ac52af15cf37708308368bb006cb8
2022-10-24ref(eshell): remove the function `my/eshell-here'Franck Cuny1-17/+0
I prefer to open a shell using project.el. Change-Id: I4b1c533f58955207228e703ca4da567fa89622d9
2022-10-24fix(eshell): remove two unused functionsFranck Cuny1-48/+0
The first one was to track how long commands take to complete. This is not really useful to me at this point. The second one was to open a directory at point. I also don't use this. Change-Id: Ied633354d77947c0017070337b375ced0d7bfe32
2022-10-24fix(eshell): don't enable eshell's smart modeFranck Cuny1-3/+0
For reasons I don't understand, performances degrade immediately once an eshell buffer size grows. I find the behavior annoying anyway so let's remove it. Change-Id: Ia5ca2391d1ed11ae4b7c2102131159f0cdfbcb59
2022-10-24fix(eshell): drop the bookmark moduleFranck Cuny1-1/+0
Change-Id: Iac8a034c54a0232fc227ed5ca235e55db9d96eaa
2022-06-21feat(eshell): change the prompt to be like fishFranck Cuny1-0/+31
Change-Id: I8cfd546b668035ff3627cd0ac6a2082cd3d2dea8
2022-04-28further simplificationsFranck Cuny1-29/+21
2022-04-16eshell: disable auto-completionFranck Cuny1-7/+8
2022-04-14replace avy/counsel with vertico/consultFranck Cuny1-2/+0
2022-03-25eshell: fix configurationFranck Cuny1-1/+0
2022-03-23this should be the last mass refactorFranck Cuny1-89/+31
2022-03-23rename a few more librariesFranck Cuny1-4/+5
2022-03-22eshell: make flymake happyFranck Cuny1-15/+33
2022-01-21eshell: run `ls -l` after entering a directoryFranck Cuny1-0/+2
2021-12-18eshell: add the host's name in the promptFranck Cuny1-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.
2021-11-29emacs: try to fix promptFranck Cuny1-3/+3
2021-10-27emacs: split horizontally to create eshell bufferFranck Cuny1-3/+2
2021-10-27eshell: open file at pointFranck Cuny1-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.
2021-10-20emacs: add alias for ls -lFranck Cuny1-0/+1
2021-10-18emacs: start a shell when configuration is loadedFranck Cuny1-0/+6
Once the initialization of our configuration is done, we start a shell session with `eshell'.
2021-10-17emacs: set eshell-prompt-regexpFranck Cuny1-0/+1
Otherwise the shell freeze every now and then.
2021-10-17emacs: different prompt when on a remote hostFranck Cuny1-3/+7
Replace the prompt with `@<hostname>' when our current eshell path is on a remote host.
2021-10-17emacs: add binding for counsel-esh-historyFranck Cuny1-1/+2
The default one is not working, and I don't think it's obvious to me what it was anyway.
2021-10-17emacs: custom prompt for eshellFranck Cuny1-0/+33
2021-10-17emacs: add function to export eshell outputFranck Cuny1-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
2021-10-17emacs: set `eshell-cd-on-directory` to trueFranck Cuny1-0/+1
2021-10-17emacs: add a few more aliases to eshellFranck Cuny1-1/+8
2021-10-17emacs: be explicit about eshell modules we loadFranck Cuny1-4/+26
2021-09-24emacs: some eshell tweaksFranck Cuny1-3/+7
2021-09-24emacs: add package eshell-bookmarkFranck Cuny1-0/+6
2021-08-05emacs: rename eshell bufferFranck Cuny1-1/+6
When creating a new buffer for eshell with `fcuny/eshell-here` rename the buffer using parts of the directory.
2021-08-05emacs: eshell smart displayFranck Cuny1-1/+9
From https://www.masteringemacs.org/article/complete-guide-mastering-eshell
2021-08-05emacs: track command's execution time in eshellFranck Cuny1-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
2021-02-16emacs: eshell aliasFranck Cuny1-1/+1
2021-01-04emacs: rename the directoryFranck Cuny1-0/+0
2019-09-27[emacs] add new alias for eshell (git status)Franck Cuny1-0/+1
open a magit-status buffer when running `gs`.
2019-08-29[emacs] giving a try to eshellFranck Cuny1-0/+38