Skip to content

fluentmoheshwar/shell

Repository files navigation

My shell setup

My shell setup

I'm super excited to share with you my awesome shell setup that makes my coding life so much easier and fun! 😍

All you need to do is clone this repo and run appropriate script. It will install everything you need in a snap (excluding terminal and nerd font).

Features:

Installation

Windows

Run windows.bat

Linux

Ubuntu/Linux Mint/Pop OS/KDE Neon

bash ./ubuntu.sh

Note: Only Ubuntu LTS and it's derivatives is supported.

Fedora/Alma Linux/RHEL/CentOS/Nobara

bash ./fedora.sh

Mac

Warning: This script isn't tested! I don't have a mac.

bash ./mac.sh

Updating

use git pull and re-run appropriate script.

Terminal Setup Instruction

You need to use one of these terminals: Supported Terminals You also need to use a nerd font. Trust me, you will love the icons and glyphs. 😎 Remember to set the nerd font and powershell as your default shell in your terminal. I'm showing setup instruction for Windows Terminal, Hyper and Visual Studio Code Integrated Terminal below. I'm using Cascadia Code Nerd Font as example.

Windows Terminal

Windows Terminal > Click on the arrow > Settings

Settings in Windows Terminal

Set PowerShell as default shell and Windows Terminal as default terminal like below.

PowerShell and Windows Terminal default

Go to Default > Appearance > Set your nerd font as default

Restart terminal

Hyper

Hyper>Edit>Preferences

Settings in Hyper

Add the following to your hyper.js file

module.exports = {
  config: {
    // Uncomment below for Linux/Mac
    // shell: '/usr/bin/pwsh',
    // Uncomment below for Windows
    // shell: 'C:\\Program Files\\PowerShell\\7\\pwsh.exe'
    fontFamily: "CaskaydiaCove Nerd Font Mono",
    disableLigatures: false,
  },
};

Visual Studio Code Integrated Terminal

Click on the gear icon> Settings Settings in Vscode

Click Open settings.json icon.

settings.json in vscode

Add the following code in your settings.json file.

{
  "terminal.integrated.defaultProfile.windows": "PowerShell",
  "terminal.integrated.defaultProfile.linux": "pwsh",
  "terminal.integrated.defaultProfile.osx": "pwsh",
  "terminal.integrated.shellIntegration.suggestEnabled": true,
  "editor.fontFamily": "CaskaydiaCove Nerd Font Mono"
}