0744.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Level Up Your Linux Shell with ZSH</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Debian,Linux,Terminal,Home Lab,Home Lab Ideas,Install Guide,ZSH,OhMyZSH,Themeable Linux Shell,Z Shell,Linux Shell,Customizable Linux Shell,Improved Linux Shell,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Level Up Your Linux Shell with ZSH">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="02/11/2024 06:22:21 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Level Up Your Linux Shell with ZSH</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is ZSH?</h2>
  26. <blockquote><em>The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh. -<a href="https://en.wikipedia.org/wiki/Z_shell" target="_blank">https://en.wikipedia.org/wiki/Z_shell</a></em></blockquote>
  27. <h2>Install ZSH</h2>
  28. <ol>
  29. <li>Log into the Linux device</li>
  30. <li>Run the following commands in a terminal window
  31. <div class="codeBlock"># update apt repositories<br />
  32. sudo apt update<br />
  33. # install zsh<br />
  34. sudo apt install zsh -y<br />
  35. # test zsh is working<br />
  36. zsh --version<br />
  37. # set zsh as the default shell<br />
  38. chsh -s $(which zsh)<br />
  39. # close the current terminal window<br />
  40. exit</div>
  41. </li>
  42. <li>Logout and back in or reboot the Linux device</li>
  43. <li>Launch a new terminal window to verify ZSH is now the default shell</li>
  44. <li>Step through the configuration questions</li>
  45. <li>That&#39;s it! Enjoy the power and beauty of zsh</li>
  46. </ol>
  47. <h2>Install Oh My ZSH (Optional, but highly recommended)</h2>
  48. <ol>
  49. <li>Continue with the following commands in a terminal window
  50. <div class="codeBlock"># install oh my zsh<br />
  51. sh -c &quot;$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)&quot;</div>
  52. </li>
  53. </ol> </div>
  54. </div>
  55. </body>
  56. </html>