Skip to content

Commit 03e702f

Browse files
authored
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 <[email protected]>
1 parent fd897df commit 03e702f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,23 @@ To browse code [![Open in VSCode](https://badgen.net/badge/icon/Visual%20Studio
117117
* OpenShift Templates
118118
* Docker compose
119119

120+
## Some Useful Configuration
121+
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:
122+
123+
```
124+
alias m2k="move2kube"
125+
126+
```
127+
### To configure it globally:
128+
To keep aliases between sessions, you can save them in your user’s shell configuration profile file
129+
130+
#### Bash (.bashrc or .bash_profile)
131+
```
132+
echo 'alias m2k="move2kube"' >> ~/.bashrc
133+
source ~/.bashrc
134+
135+
```
136+
120137
## Discussion
121138

122139
* For any questions reach out to us on any of the communication channels given on our website https://move2kube.konveyor.io/

0 commit comments

Comments
 (0)