alias hint

    I want to share a simple but very useful hint for your aliases, which I noticed with gark87.

    Task:
    Make sure that all of your shells have the same aliases, so that when you add a new one, you do not have to edit a bunch of files.

    Solution:
    1. We remove all alias to file ~/.alias
    2. In ~ / .bashrc, ~ / .zshrc, etc. write: . $HOME/.alias# before the $ HOME is a period and a space

    Also popular now: