4

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?

10

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

$ alias hello
  • Thanks for the answer, no I don't have to open up any files. – Luke Oct 5 '14 at 15:09
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.