8/26/2023 0 Comments Windows terminal add ubuntuChange the font in Visual Studio Code terminal Update it with plugins=(git zsh-autosuggestions zsh-syntax-highlighting) 8. Install zsh-autosuggestions git clone $ZSH_CUSTOM/plugins/zsh-autosuggestionsĪfter installation, open the file. Install zsh-syntax-highlighting git clone $ZSH_CUSTOM/plugins/zsh-syntax-highlighting When you restart your terminal, you will find interactive windows that lead you through many powerlevel10k theme options. Configure ZSH theme (powerlevel10k) with Oh-My-Zsh Find the line of ZSH_THEME and replace with the new theme. You can find the theme installed in ~/.oh-my-zsh/custom/themes. Install Powerlevel10K git clone -depth=1 $/themes/powerlevel10k Download and install four MesloLGS NF fonts to your PC (double-clicking the downloaded ttf file for installation). Install a few required fonts for Powerlevel10K theme. We will install an external theme, Powerlevel10K, which is very popular now among developers.īefore doing this, let's restart your terminal. If you add a custom or external theme or plugin, they should store inside the custom directory. For curiosity, you can navigate pre-shipped themes and plugins. oh-my-zsh directory inside your home directory. Oh-My-Zsh includes many themes and plugins. We will come back to that file for configuration later on. Install ZSH sudo apt-get install zshĪfter installation, you will find. Oh-My-Zsh makes it easier for us to handle ZSH configurations. It offers aesthetically pleasant themes and powerful plugins that can boost your productivity. With using a different shell program, ZSH, we can access many features that Bash does not provide. I have already installed Ubuntu 20.04 on Windows Subsystem for Linux (WSL). This will be helpful if you want to setup a Linux development environment on Windows PC. Enable “Windows Subsystem for Linux.In this posting, I will show how to install ZSH and Oh-My-Zsh on Windows PC (WSL). If you prefer updating using UI, then go to the Control Panel -> Programs and click “Turn Windows feature on or off”. Using PowerShell as administrator, execute:ĭism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart You must first enable the “Windows Subsystem for Linux” optional feature before installing any Linux distributions on Windows. Step 1: Enable the Windows Subsystem for Linux If not, you can still install WSL1 by only completing steps 1 and 5. You can check this by opening the “About my PC” option from Windows Start and check that the version is “1093” or above and with Build 18362 or Higher. So, the bottom line is that Windows users can now get the same Linux experience that they get on a Mac or Linux desktop.īefore you start to setup WSL2, you must satisfy Windows 10 version requirements. This avoids clunky workarounds like Virtual Machines and Cygwin that can slow down your machine. This means developers using Windows machines have access to the complete Linux command line toolset (vi, grep, awk, sed, etc.) and can run their favourite distro on Windows. With continued support from Microsoft, more distros such as SUSE, Alpine, Kali, Debian have followed the steps of Ubuntu and released their distros for WSL. During the initial days, Microsoft achieved this by building the WSL by working with Canonical to run Ubuntu on top of WSL. Microsoft has brought “native” Linux capabilities to Windows 10 by allowing you to install Ubuntu Bash. Docker, Git, Python, Spark and all the data munging Linux commands) natively on Windows 10. WSL2 provides the ability to run a complete set of Ubuntu tools, VS Code and utilities ( e.g. VS Code can integrate with WSL2 using the Remote-WSL extension. Improvements in WSL2 have made dramatic file system performance increases, and full system call compatibility, meaning you can run more Linux apps in WSL2 such as Docker. So, Microsoft has started shipping a real Linux kernel with Windows that will make full system call compatibility possible. With the growth of public cloud, DevOps practices and continued acceptance of Linux based workloads in production has reinforced the need to have native Linux support on Windows. In line with the WSL updates, I am providing an updated overview of the installation steps in the original blog. Since then, Microsoft has made improvements and has released the WSL2 version and subsequently, the installation steps and system requirements have changed. This has been one of the most popular blog pages on the Altis site. I wrote the blog on Installing Ubuntu Bash for Windows 10 using WSL (Windows Subsystem for Linux) a few years back. Anandraj Jagadeesan, Principal Consultant – Altis Sydney
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |