![]() ![]() and Rejoice with the new ability of nano-power from git bash.Then you can call this script from git bash using just nano. You can make a /bin folder in your root and place add it to your path. Then move the nano shell script you made to somewhere on your path.Make sure to save this file with no extension. at the end close with the ' then > fileName. Then unzip the file using $ unzip nano-2.2.6.zip -d nanoĪnd then type echo ' with an open single quote then you can hit enter and get a carriage return then write each line of the file. Its near the bottom on the left currently. You can go the gnu nano homepage and download the WinNT/9x binary. Download Git bash for Linux or Mac Click next on the GNU public license Select Destination Location Select Start Menu Folder Choosing the default editor. If you missed my protip on Chocolatey check it out.# Type, below command and hit tab if nginx is the only pod it will auto complete it.This is a great post telling you exactly how to install nano for git bashįor cmd shell you can just use Chocolatey and type The auto complete feature will also work on the pod names, for example.After hitting tab with ,get pods, below result is displayed.Type k -n kube-s and hit tab, you should see the namespace getting auto-filled in this case kube-system.Open up Windows Terminal, click + near the tabs on top, select the GitBash Profile.Validate kubectl alias and auto completion works bashrc file and copy paste the content if the file doesn't exists) Source / (open cmd prompt and use the command echo %USERPROFILE% to display the current user path this where we need to create the. Open the alias.sh file and update the below contents to the bottom of the file.Navigate to C:\Program Files\Git\etc\profile.d in windows.Instruction to set Kubectl alias and auto completion feature Command to list the context is kubectl config get-contexts, I had multiple context, refer snapshot below. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |