📜 ⬆️ ⬇️

alias hint

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

Task:
Make sure that all your shells have the same aliases, and that when adding a new one, you don't have to edit a bunch of files.

Decision:
1. We take out all alias to the file ~/.alias
2. In ~ / .bashrc, ~ / .zshrc, etc. write: . $HOME/.alias # there is a dot and a space before $ HOME

')

Source: https://habr.com/ru/post/59122/


All Articles