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