All Questions
6 questions
2
votes
1
answer
523
views
Is there any way of making eshell aliases using bash and zsh aliases syntax?
Let's say I have a file called .alias in my $HOME directory with the following content:
alias "my-first-alias"="ls -lha"
alias "my-second-alias="echo 'Hello World'"
...
0
votes
1
answer
84
views
(set-eshell-alias!) for mv causes error: missing destination file or directory
In doom emacs, I'm setting some aliases in my config as follows:
(set-eshell-alias!
"ls" "exa --icons $*"
"doomsync" "~/.emacs.d/bin/doom sync"
...
0
votes
1
answer
67
views
The Emacs eshell alias of CMake doesn't recognize path correctly?
I'm using the Emacs eshell's alias feature to make an alias to the cmake command like below:
$ alias cmake 'cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1'
The alias is created correctly, here is the output ...
1
vote
0
answers
75
views
How to set eshell's ls command to different program in different OS?
Since result of /usr/bin/ls is more neat compares with eshell/ls when filenames contain non-lattin Unicodes. I add an alias in ~/.emacs.d/eshell/alias, which makes eshell use /usr/bin/ls as default:
...
9
votes
1
answer
215
views
How to create back/forward directory aliases for eshell?
For years I've been using a zsh script that causes a pushd to implicitly happen everytime you change directories. The script also sets up 'b' and 'f' aliases, short for backwards and forwards, that ...
1
vote
1
answer
693
views
eshell alias not working properly
the following alias in the aliases file doesn't work in eshell 2.4.2, emacs 24.4.1
alias ff 'find-file $1'
error message as is is given below
find-file $1: command not found
Any ideas what ...