summaryrefslogtreecommitdiff
path: root/eshell-conf.el
AgeCommit message (Collapse)Author
2023-01-07emacs-29 changesJSDurand
These are some changes when I migrate to emacs version 29.
2023-01-06theme + eshell: adapt to version 4.JSDurand
theme.el: Modus-themes now uses a great system for customising faces, and this change in configuration adapts to that update. eshell-conf.el: Besides adapting to the new Modus-themes, also add some visual commands for better display.
2022-11-07eshell: j jumps immediately with only one matchJSDurand
* eshell-conf.el (eshell-j): Previously this function does not filter the candidates according to the user-specified predicate, and presents the user with a `completing-read' that has only one candidate. I do not know why this was implemented like that, so I am trying the approach of jumping immediately when given a predicate that only matches one candidate. Let us see how this goes then.
2022-04-11misc: eshell, common and trampJSDurand
* eshell-conf.el: Load eshell-tramp. I am not sure if this is necessary, though. * tramp-conf.el (vc-ignore-dir-regexp): Ignore version control on remote hosts. Maybe I will change my mind in the future. * common.el (Info-mode-map): Evaluate this only after info is loaded.
2022-01-27eshell: expand dotsJSDurand
* eshell-conf.el (durand-eshell-expand-dots): Replace multiple dots by correct syntax. (eshell-expand-input-functions): Add to this variable so that Eshell automatically expands dots.
2022-01-26eshell: load em-termJSDurand
2021-12-24eshell-conf: delete redundant paragraph in a docJSDurand
2021-09-13eshell-conf: Fix docs and bookmark handlerJSDurand
* eshell-conf.el (durand-eshell-bookmark-jump, eshell-bookmark-jump): Fix the bookmark handler so that it does not pop to the buffer automatically, which thus allows to open the bookmark in another window.
2021-09-06eshell: formatting and a time comparisonJSDurand
* eshell-conf.el (eshell-current-command-stop): I shall compare both the number of seconds and the number of micro-seconds. Fix other formatting issues as well.
2021-08-10change: eshell-clearJSDurand
* eshell-conf.el (eshell-clear): Now it accepts a numeric argument. This will now preserve NUM many prompts.
2021-07-31new: yt-url in eshellJSDurand
* eshell-conf.el (eshell/yt-url): The function that eshell calls. (eshell-yt-url): The function that actually does the job. It converts the name of the video to its corresponding YouTube URL, and either saves it to the kill-ring or opens it in the default external browser.
2021-07-27fix: require type-breakJSDurand
* eshell-conf.el (require 'type-break): This is required by the function #'timep.
2021-07-19fix: fix bugsJSDurand
* eshell-conf.el (eshell-current-command-stop): I forgot to remove a message statement that was for the debugging purpose only. (durand-eshell-emit-prompt): Add necessary text properties for eshell to function normally. (eshell-clear): Add inhibit-read-only so that we can clear even if the prompt is not after the last prompt.
2021-07-19new: track time in eshellJSDurand
Now eshell will display the elapsed time of the last command at the beginning of the prompt. * eshell-conf.el (eshell-current-command-start-time): the variable to track the start time of the commands. (eshell-prompt-time-string): this will be displayed at the prompt, if non-nil. (eshell-current-command-start): set an appropriate variable as the start time of the command. (eshell-current-command-stop): calculat the elapsed time since the last command started and convert that into a pretty string to display. (eshell-current-command-time-track): add hooks. (eshell-start-track-command-time): (eshell-stop-track-command-time): switches of the time-tracking mechanism. (#'eshell-emit-prompt): (durand-eshell-emit-prompt): advice the original function to take into account the time information. refactor: (eshell/marks): add some colors
2021-07-19fix: eshell-clearJSDurand
* eshell-conf.el (eshell-clear): Now this just clears the screen and emits a prompt, without messingup with the command history.
2021-05-18Make eshell-clear a separate function.JSDurand
* eshell-conf.el (eshell-clear): Refactor into a standalone function.
2021-02-27Further adjustments to eshell and elfeed.JSDurand
* elfeed-conf.el (durand-eshell-download-sentinel): (durand-elfeed-download-video): (elfeed-search-mode-map): (elfeed-show-mode-map): Add the ability to conveniently download videos. * eshell-conf.el (eshell/mark): Quote the shell argument properly.
2021-02-26Eshell and elfeed improvementsJSDurand
* elfeed-conf.el (elfeed-feeds): Add some more feeds. * eshell-conf.el (eshell-j): (eshell-mark-directory): Use a dedicated variable for better maintainability. (eshell/mark): Conveniently add marks. (eshell/marks): List the marks.
2021-02-22More configurationsJSDurand
Now TeX and elfeed are roughly configured.
2021-02-08Constantly growingJSDurand
A lot of improvements.