Commit graph

32 commits

Author SHA1 Message Date
Howard Abrams
8a2c0419ff Remove the mode line in eshell 2023-04-19 11:42:32 -07:00
Howard Abrams
01a0958e6f Update the copyright year
This really was a lark to see if I could change ALL the files using
woccur and a regular expression. Quite please with how simple that was.
2023-02-23 09:35:36 -08:00
Howard Abrams
b3a22bbd39 Eat a Terminal integration with Eshell
As well as fix some bugs.
2023-01-09 20:03:42 -08:00
Howard Abrams
50b5be3ec8 Better eshell terminal windows
Now we don't re-open eshell windows, but just pop to it.
Also we have a send-command that I can programmatically send commands
to an open window.
2023-01-09 20:02:50 -08:00
Howard Abrams
75a7db65c1 Fix the eshell start 2023-01-09 20:02:50 -08:00
Howard Abrams
f2791ed323 Change examples to use do instead of map
I originally called my looping construct "map", but maybe "do" is better?
2022-12-03 09:56:33 -08:00
Howard Abrams
9d43b58efa Fix dashboard display 2022-11-24 23:16:34 -08:00
Howard Abrams
6a74607b85 Fix some bugs based in eshell and vterm
After making my presentation on eshell, I encountered some bugs that
needed addressing.
2022-11-24 23:10:38 -08:00
Howard Abrams
4df8279e20 Replace neotree with dirvish
I used neotree when giving code reviews to show people watching where
files were located in the project. It was never very useful. But
dirvish allows me to do that, plus have a more useful dired experience.
2022-11-24 23:05:39 -08:00
Howard Abrams
ac71278fdd Engineering Notebook and Eshell
This is a big feature allows me to easily capture both commands and
output from eshell into my "General Notes". The idea is that I could
edit/massage that content to keep that file small.
2022-10-31 20:58:46 -07:00
Howard Abrams
d9a5ca433f Created an argument parser for eshell ... getopts-flavor
Actually simplifies and makes the other functions more readable,
all the while giving me more flexibility for more functions.
2022-10-29 21:23:18 -07:00
Howard Abrams
fa1545b088 Adding pcomplete to eshell 2022-10-25 22:05:47 -07:00
Howard Abrams
7c105189aa Fix bug with remote login from host entry in buffer 2022-10-17 21:19:37 -07:00
Howard Abrams
14688bb1d5 Replaced bcat with flow and wrote ebb
The idea is that I can "bump" and "fetch" with "ebb" and "flow" data
to and from eshell to an editing buffer.
2022-10-14 22:19:54 -07:00
Howard Abrams
a2a61b296b Simple eshell prompt with PWD on modeline
Seems like a nicer way to get more screen estate.
2022-10-12 22:35:24 -07:00
Howard Abrams
595d435789 Clean up the eshell aliases 2022-10-10 14:42:43 -07:00
Howard Abrams
f9003e172f Do I really want to call execute-command-on-buffer?
This is a really nifty function, but should I call it all the time?
Adding the name of the buffer automatically is sweet... until I don't
want that feature.
2022-10-04 20:41:01 -07:00
Howard Abrams
a00bcbf88c Fix bug with e eshell function, as well as make aliases
I might actually type `vi` or `emacs`, and we can't have that mess
things up.
2022-10-02 23:11:03 -07:00
Howard Abrams
a6db663a1c Created the more and less function
These just call `view-file` and this is because I can't get the alias
working correctly. Besides, I would like them to work with more than
one file.
2022-10-02 22:28:45 -07:00
Howard Abrams
2294abe9d9 Call rx from eshell with rx to write the regexp
But `rx` outputs Emacs regular expressions. The pcre2el project can
convert that for us.
2022-10-01 23:40:42 -07:00
Howard Abrams
62a9262f43 Created a "lsd" command to call lsd if installed
But format it like the built-in "eshell/ls" command.
2022-10-01 21:06:49 -07:00
Howard Abrams
b399c30bb6 Reformat with dash library to make code more readable
Using the anaphoric macros from the dash library allows the banner
code to be smaller and I feel more readable. Yes, I could have run the
`ls` command into another buffer and copied it, I have bigger plans
for displaying my directory listing.
2022-09-29 09:18:59 -07:00
Howard Abrams
d5e30ec98f Argh ...
My attempt at making a gnarly banner function more readable by
creating lexical functions with `cl-flet` to pass to `mapconcat` was
thwarted! Who would have thunk that `mapconcat' couldn't access a
symbol reference to a function created by `cl-flet*'!?
2022-09-28 22:36:30 -07:00
Howard Abrams
3724a7decb Display directory files on new eshell instance
Whenever I open a shell, even if I know where and why I'm there, I
always type `ls`, so in this case, I made the eshell banner display
a listing of all of the files.
2022-09-28 22:17:27 -07:00
Howard Abrams
8d0579952b Added a "buffer cat" to eshell to pipe a buffer to commands
Fixed a bunch of prose issues.
2022-09-28 19:40:08 -07:00
Howard Abrams
4db75eb591 Replace dwim-shell-command with eshell-command
Gives the same feature, but has offers more.
2022-09-28 13:41:45 -07:00
Howard Abrams
ecc9c1ee8f Now $$ is an array of command output history
Extended the `eshell-variable-aliases-list` to call a new function that
stores the output of the commands in an ring. This is a pretty cool feature.
2022-09-26 17:21:42 -07:00
Howard Abrams
334c3f9cff Access past version's of eshell command output
Simple addition of some rings to store a bit of eshell command
history. I really can't believe how easy this stuff is to write.
2022-09-23 21:56:49 -07:00
Howard Abrams
e9cdcc5c5c Expanded eshell output variables to include a file
The output from the last eshell command is now also stored in a file
by the name, $OUTAF.

Hrm ... now I want this output, as part of a history....
2022-09-23 16:30:25 -07:00
Howard Abrams
2a6302c43d Add $OUTPUT and $LAST eshell variables
These contain the output from the last eshell command. Cool how easily
I implemented this.
2022-09-23 16:20:56 -07:00
Howard Abrams
bcb014a9ef Create a "map" function for eshell to replace the for loop
Better? It is cool that it is so easy to do.

May need to expand it so that subcommands work too. We'll see if this
fits my use case.
2022-09-21 22:57:20 -07:00
Howard Abrams
f9b4789199 Pulled eshell functions out of remoting
And placed it into its own "eshell" configuration file.
2022-09-20 23:09:42 -07:00