Results 1 to 4 of 4

Thread: Hide aliases from appearing when opening terminal

  1. #1
    Join Date
    Feb 2007
    Beans
    16
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Hide aliases from appearing when opening terminal

    Hello,

    I edited some lines (altered HISTZISE and added an aliases) in .bashrc and now, every time I start the terminal the aliases declared in .bashrc appear on the top of the terminal window.

    No idea why this happens. How I can revert that behavior?

    I guess I could add an 'clear' to the end of the file, but is not the most elegant solution (as I still can see the lines being printed and this didn't happen before).

    Any idea where I should look?

  2. #2
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,664
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Hide aliases from appearing when opening terminal

    That doesn't normally happen -- not for me anyway.

    Check your alias definitions to make sure everything is in order. Perhaps you have an alias command on its own line that is showing the list of aliases rather than defining a new one?

  3. #3
    Join Date
    Feb 2007
    Beans
    16
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Hide aliases from appearing when opening terminal

    Quote Originally Posted by r-senior View Post
    That doesn't normally happen -- not for me anyway.

    Check your alias definitions to make sure everything is in order. Perhaps you have an alias command on its own line that is showing the list of aliases rather than defining a new one?
    You were right! But the problem was on .bash_aliases file (that's why I missed it). One of the alias definitions was defined using -p .

    Fixed now. Thank you.

  4. #4
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,664
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Hide aliases from appearing when opening terminal

    Good.

    If you go to the Thread Tools link just above your original post, you can mark it solved.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •