summaryrefslogtreecommitdiff
path: root/eshell-conf.el
AgeCommit message (Collapse)Author
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.