Skip to content

Commit e39dffd

Browse files
committed
add text content for oh-my-zsh
1 parent 6dd4dd4 commit e39dffd

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

src/components/courseData.js

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,33 @@ const courses = {
244244
\n### Why Oh My Zsh?
245245
\n<code>Oh My Zsh</code> is an open source framework, used to customize zsh as well as manage its configs.
246246
\n## Steps Performed:
247-
\n<i>coming soon...</i>
247+
\n### ZSH Installation
248+
\nInstallation may differ according to your OS. [See here](https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH)
249+
\n**For Ubuntu**: <code> $ sudo apt intall zsh</code>
250+
\n## Oh-My-Zsh Installation
251+
\nInstall **Oh-My-Zsh** according to your OS or distro. [See here](https://ohmyz.sh/#install)
252+
\n**For Ubuntu**: <code> $ sh -c $(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)</code>
253+
\n### Zsh Configuration
254+
\n![Screenshot of Oh-My-Zsh](https://uploads.sitepoint.com/wp-content/uploads/2019/11/1573134240zsh-02.png)
255+
\nBoom! Now, your **.zshrc** <i>(source file for zshell launch)</i> has been replaced by new **.zshrc** file <i> (in your home dir or where you've installed it.)</i> The original **.zshrc** is kept as a backup file.
256+
\n#### Themes
257+
\nThe first thing I'd ever do is to change my terminal theme as I like. So, let's explore what will suite for us?
258+
\n**Editing <q> .zshrc </q> file**
259+
\nGo to <code>~</code> <i>(home dir or where you've installed it)</i>
260+
\nI performed : <code>$ cd ~ </code>
261+
\nChoose your fav edior and edit **.zshrc** file.
262+
\nI performed : <code> $ nano .zshrc </code>
263+
\nTo change the theme you need to change the value of <q>ZSH_THEME</q>
264+
\n For exploring themes, I placed <q> random </q>. So that, it will launch with any random theme at every instance.
265+
\n If you've chosed one, just edit **~/.zshrc** file and change the value of <q>ZSH_THEME</q> with the theme you want.
266+
\n I changed <code>ZSH_THEME="devcontainers"</code> to <code>ZSH_THEME="fino" </code>
267+
\n#### Auto-Suggestions
268+
\nThis plugin suggests commands based on your past history, saving your both effort and time.
269+
\n**Installing <q>Auto-Suggestions</q> plugin**
270+
\nClone github repository to install it : <code>git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions </code>
271+
\nAfter installing, again edit your **.zshrc** file and look for <q>plugins</q> config, and change <code># plugins=(git)</code> to <code>plugins=(git auto-suggestions)</code>
272+
\nIMPORTANT <i>See changes done by using zsh to launch again with new config(s).</q>
273+
\n **Thank You! Jay Nepal!**
248274
`,
249275
},
250276
'course 10: learn to customize terminal': {

0 commit comments

Comments
 (0)