-
Fork this repository if you want to have your aliases, not mine.
-
Clone repository:
-
via SSH:
git clone [email protected]:<YOUR-USERNAME>/bash-alias-sync.git
-
via HTTPS:
git clone https://github.com/<YOUR-USERNAME>/bash-alias-sync.git
-
-
Install synchronization of aliases once:
cd ./bash-alias-sync chmod +x ./install.sh ./install.sh
.
├── .bash_aliases # Entry point.
├── common # Common aliases.
│ ├── .bash_aliases # Aliases without arguments.
│ ├── .bash_deps # Installation of dependencies.
│ ├── .bash_overrides # Optional overrides for some commands.
│ ├── .git_aliases # Aliases for Git.
│ ├── .bash_constants # Exported constants.
│ ├── .bash_handlers # Input handlers.
│ ├── .git_aliases # Aliases for Git.
│ └── .bash_functions # Aliases with arguments.
├── linux # Aliases for Linux-only.
├── macos # Aliases for MacOS-only.
├── mingw # Aliases for MINGW (e.g. bundled with Git Bash for Windows).
├── unix # Aliases for all UNIX-like systems.
└── wsl # Aliases for Windows Subsystem Linux.
-
Open project with your text editor of choice.
-
Modify.
-
Save file.
-
Update aliases in current session:
alias-update
-
Shortcut for pushing aliases to your repository:
alias-push
-
Shortcut for pulling aliases from your repository:
alias-pull