Code Monkey home page Code Monkey logo

smart_terminal's Introduction

Smart_Terminal

πŸŽ† IT'S A WINDOWS TERMINAL!! πŸŽ†

At firsts i didn't belive that i can finally bring this beautifull terminal to windows

That's right not only linux users can do stuffs like this πŸ˜‚

Follow steps to Make your terminal like me πŸͺΆ

⭐ SUPPORT ME BY GIVING THIS REPO STAR ⭐

Terminal

Steps :

scoop

Scoop is a command-line installer for Windows we need it to install neofetch and other stuffs

1 / 2

Refer to this link: https://github.com/ScoopInstaller/Scoop

Run this command in your Powershell after that it will ask you to accept some trust policies

> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time

2 / 2

> irm get.scoop.sh | iex

neofetch

Neofetch is a command-line system information Link: https://github.com/dylanaraps/neofetch

Installation

Run this command in your powershell terminal

scoop install neofetch

after installation

Run this command to see your first colored ascii art

neofetch

Customization

1 / 2

First go to this path on your computer

C:\Users\{{Username}}\scoop\apps\neofetch\current

You will see a file named neofetch if you want to apply exactly my ascii art replace the file with one i put in repository Otherwise open it in a editor and search for windows you'll see a ascii windows logo replace it with whatever you want run neofetch again on your terminal to see the applied changes

2 / 2

For more customization options go on this path

C:\Users\No1\.config\neofetch

There is a file named config.conf again if you want my style replace it with the exact name file i put in repository Open it you will see a func named print_info() at first so there are some ready option made there if you want to see them remove # (it's comment syntax ) otherwise any options you dont want to see put # at the first of them to comment them

Run this command to apply changes

neofetch --config C:/Users/{{UserName}/.config\neofetch/config.conf

windows terminal

Install

1 / 2

Next Step is to download windows terminal prev version from microsoft store !!important only prev version be carefull about that Note: For iranian ( Should Use Vpn to download : ( )

2 / 2

Open the terminal click on the top side bar open settings

open json settings file here : settings

Custom

Do These actions by order :

1 / 2

Download Monfur nerd font or any other nerd font and install it

Monfur font link: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/Monofur.zip

Link: https://www.nerdfonts.com/

2 / 2

inside profiles ==> lists ==> []

put at the first

            {
                "adjustIndistinguishableColors": "indexed",
                "backgroundImage": "(Your Background Image path if you want)",
                "backgroundImageOpacity": 0.2,
                "backgroundImageStretchMode": "uniformToFill",
                "colorScheme": "Tango Dark",
                "commandline": "powershell.exe -NoLogo -NoExit",
                "elevate": true,
                "experimental.retroTerminalEffect": false,
                "font": 
                {
                    "face": "Monofur Nerd Font Mono",
                    "size": 13.0,
                    "weight": "medium"
                },
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "icon": "(your top icon path if you want)",
                "name": "Itz-Amethyst",
                "opacity": 80,
                "useAcrylic": true
            },

Save file

Note: Your Default terminal is now powershell and must be !

oh my posh

A prompt theme engine for any shell.

If you want you can refer to this link for installation guide Link: https://ohmyposh.dev/docs/installation/windows

1 / 2

Run this command to install :

scoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json

2 / 2

It's time to configure you terminal or shell to use oh my posh For this example i used powershell but you can use any other terminals ....

Run this command in your terminal It will ask you to create for the first time so accept it

notepad $PROFILE

And puth this line inside

oh-my-posh init pwsh | Invoke-Expression

After that run this in your terminal

.$PROFILE

🎊 Congratulations 🎊 If everything went well you will see a modern terminal but that's not all !!

theme

It's time to make it like what you want !

1 / 4

Run This command to get all themes

 Get-PoshThemes

Refer to this site and pick your theme All Themes : https://ohmyposh.dev/docs/themes

2 / 4

Run this to open your profile

notepad $PROFILE

Note: You can choose to pick theme by url official or inside of your computer storage

Url

put this inside of it !!!! Replace url with theme url refered to link i put

oh-my-posh init pwsh --config '{{Url}}' | Invoke-Expression

Storage

Replace {{ThemeName}} with your theme name

oh-my-posh init pwsh --config 'C:\Users\{{YourUsername}\AppData\Local\Programs\oh-my-posh\themes\{{ThemeName}}.omp.json' | Invoke-Expression

Optional

3 / 4

run this command to install Terminal-Theme to looks better

Install-Module -Name Terminal-Icons -Repository PSGallery

4 / 4

🎈Final Part ! Putting all this together

run this in you terminal

notepad $PROFILE

and put these codes inside of it

Import-Module -Name Terminal-Icons
neofetch

It should look like like this at final

Import-Module -Name Terminal-Icons
neofetch
oh-my-posh init pwsh --config 'C:\Users\{{YourUsername}\AppData\Local\Programs\oh-my-posh\themes\{{ThemeName}}.omp.json' | Invoke-Expression

Run this to apply

.$PROFILE

πŸ’ͺ🏻 You did it

πŸ”“ Achievement Unlocked πŸ”“

πŸ† JUST DO IT πŸ†

apply my custom

If you want your terminal theme looks like mine download the MyCustom Theme and put it inside themes location inside your computer

C:\Users\{{YourUsername}\AppData\Local\Programs\oh-my-posh\themes\

Run this

notepad$PROFILE

And Replace oh my posh theme with this

oh-my-posh init pwsh --config 'C:\Users\{{YOURUSERNAME}}\AppData\Local\Programs\oh-my-posh\themes\MyCustom.omp.json' | Invoke-Expression

and final

.$PROFILE

Support

You can support this repo by giving star 🌟

Feel free to open pull requests 🧡

Links

----------------------- 🚨 -------------------------------

Blog: https://dev.to/anupa/beautify-your-windows-terminal-1la8

Youtube: https://www.youtube.com/watch?v=Rwxi5kgvqac&ab_channel=Kedilik

Youtube: https://www.youtube.com/watch?v=Ov3yi-9jbFI&ab_channel=TheLinuxCast

smart_terminal's People

Contributors

itz-amethyst avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.