6

I recently created the alias in eshell:

alias hello 'echo "Hello World"'

So now whenever I type hello:

enter image description here

I am very used to creating temporary alias in the Terminal for more subtle use. And then putting my more permanent alias in the .bashrc file. So how do I remove the alias for hello? Do I have to set another alias for hello that does nothing? Is there an file that I have to edit to change this?

programking
  • 7,194
  • 10
  • 42
  • 63

2 Answers2

13

The alias command of eshell can also be used to remove aliases: just leave out the definition part.

$ alias hello
Sigma
  • 4,520
  • 22
  • 27
0

Okay, I went into my home folder and found the .eshell file. Inside I found a file named alias and opened it. That is where I found the place to edit and delete alias.

programking
  • 7,194
  • 10
  • 42
  • 63