From 03e702f6cdd60336d5144490a5c39c258bcaff19 Mon Sep 17 00:00:00 2001 From: Sanket Teli <104385297+Sanket-0510@users.noreply.github.com> Date: Thu, 21 Mar 2024 13:56:48 +0530 Subject: [PATCH] docs: add instructions for setting an alias for the `move2kube` command in the shell (#1139) docs: add instructions for setting an alias for the move2kube command in the shell Signed-off-by: sanket --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 041d8cba..1265e66f 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,23 @@ To browse code [![Open in VSCode](https://badgen.net/badge/icon/Visual%20Studio * OpenShift Templates * Docker compose +## Some Useful Configuration +You can set an alias for move2kube to make it more convenient to use. The following command allows you to refer to move2kube as m2k for the current terminal session: + +``` +alias m2k="move2kube" + +``` +### To configure it globally: +To keep aliases between sessions, you can save them in your user’s shell configuration profile file + +#### Bash (.bashrc or .bash_profile) +``` +echo 'alias m2k="move2kube"' >> ~/.bashrc +source ~/.bashrc + +``` + ## Discussion * For any questions reach out to us on any of the communication channels given on our website https://move2kube.konveyor.io/