{"id":20127345,"url":"https://github.com/mrhrifat/terminal-customization","last_synced_at":"2025-09-21T04:32:01.201Z","repository":{"id":110899472,"uuid":"442494057","full_name":"mrhrifat/terminal-customization","owner":"mrhrifat","description":"Terminal Customization is a way to customize the look and feel of your terminal. It is a great way to make your terminal more user friendly.","archived":false,"fork":false,"pushed_at":"2024-10-19T06:52:05.000Z","size":1190,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-13T20:23:54.285Z","etag":null,"topics":["customization","emulator","oh-my-zsh","ohmyzsh","power-level-10k","powerlevel10k","shell","terminal","terminal-customization","terminal-customize","theme","zsh"],"latest_commit_sha":null,"homepage":"https://github.com/mrhrifat/terminal-customization","language":"Markdown","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrhrifat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-28T14:49:06.000Z","updated_at":"2024-10-19T06:52:09.000Z","dependencies_parsed_at":"2023-06-26T07:05:00.277Z","dependency_job_id":null,"html_url":"https://github.com/mrhrifat/terminal-customization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrhrifat%2Fterminal-customization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrhrifat%2Fterminal-customization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrhrifat%2Fterminal-customization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrhrifat%2Fterminal-customization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrhrifat","download_url":"https://codeload.github.com/mrhrifat/terminal-customization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233711420,"owners_count":18718020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["customization","emulator","oh-my-zsh","ohmyzsh","power-level-10k","powerlevel10k","shell","terminal","terminal-customization","terminal-customize","theme","zsh"],"created_at":"2024-11-13T20:20:39.286Z","updated_at":"2025-09-21T04:32:00.508Z","avatar_url":"https://github.com/mrhrifat.png","language":"Markdown","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Terminal Customization\n\nTerminal Customization is a way to customize the look and feel of your terminal. It is a great way to make your terminal more user friendly.\n\n## Linux Terminal\n\nLinux Terminal is a terminal emulator for the Linux operating system. It is a powerful terminal emulator that can be used to run commands and programs.\n\n- Default Shell: Bash\n- Default Terminal Font: DejaVu Sans Mono\n\nHow to Install ZSH\n\n```\nsudo apt install zsh\n```\n\n**Note:** if it ask you yes type `y`\n\nChange default shell\nBy default it was set on `bash` shell. Check by\n\n```\necho $0\n```\n\nIt will return `bash`. Now type \u0026 enter the root password.\n```\nchsh\n```\nAfter seeing Changing the new shell for `username`. Enter the new value, or press ENTER for default\n```\nLogin Shell [/bin/bash]:/bin/zsh\n```\nNow do reboot your system manually or from command line\n\n```\nsudo reboot\n```\n\nNow login again \u0026 open the terminal. You will see the new shell \u0026 some text.\nType one of the keys in parenthesis --- Press 2\nCheck again\n\n```\necho $0\n```\n\nThis time it will return `zsh`.\n\nInstall Oh My Zsh\nThe below command will work if your system have already installed this package.\n\n- Curl\n- Git\n- Zsh\n\n```\nsh -c \"$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"\n```\n\nIf curl is not installed, then you can install it by\n\n```\nsudo apt install curl\n```\n\nIf git is not installed, then you can install it by\n\n```\nsudo apt install git\n```\n\nIf zsh is not installed, then you can install it by\n\n```\nsudo apt install zsh\n```\n\nAfter successful installation, you will see the following message\n\n```\nOh My Zsh! is now installed.\n```\n\nTheme of Oh My Zsh\nYou can change the theme of Oh My Zsh by\n\n```\ncd ~/.oh-my-zsh/themes\n```\n\nI have used the following theme Powerlevel10K\n\n```\ngit clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k\n```\n\nChange font of the terminal\nTo change the font if your system has already installed font manager, then you can change the font easily.\n\nDownload the font\nOpen the font and install it\nChange font in linux terminal\nPreferences -\u003e Profile (Unnamed/Anything) -\u003e Text -\u003e Text Appearance -\u003e Check the box \"Custom font\"\nClick on the font name and select the `MesloLGS NF` font.\nChange the font size to `10` or any other size.\nClick Select.\nExit the terminal and open it again.\n\nIf you don't want or don't have installed font manager, then you can install\nDonwload the fonts\nOpen the folder and select all the fonts Ctrl+H\nNow all the hidden files will be shown.\n\nClick Ctrl+Shift+N \u0026 named the folder .fonts\nEnter the directory \u0026 paste all the fonts\nGo back to the Home directory \u0026 again click Ctrl+H\n\nNow if your system have to be installed Gnome Tweak Tool, if it is installed then open the terminal \u0026 type\n\n```\nsudo apt install gnome-tweaks\n```\n\nNow on your application, you will be able to see Tweak \u0026 Tweak Tool.\nClick to open Tweak Tool.\nClick on the \"Fonts\" tab.\nClick on the \"Monospace Text\" tab.\nSelect the font MesloLGS NF.\nClick on the Select\nClose the Terminal \u0026 open it again.\n\nCustomize the Powerlevel10K theme\nNow you can customize the theme by editing the file `.zshrc`\nFrom the root directory of your system, open the file `.zshrc` by\n\n```\nvim ~/.zshrc\n```\n\n```\ngedit ~/.zshrc\n```\n\nYou can see on line 11 or other line a text like this\n\n```\nZSH_THEME=\"robbyrussell\"\n```\n\nChange the value to `powerlevel10k/powerlevel10k`\n\n```\nZSH_THEME=\"powerlevel10k/powerlevel10k\"\n```\n\nNow restart your terminal.\n\nCustomize the Powerlevel10K theme\n\n- Does this look like a diamond (rotated square)\n  y\n- Does this look like a lock\n  y\n- Does this look like a Debian logo (swirl/spiral)\n  y\n- Does all these icons fit between the crosses?\n  y\n- Prompt Style\n  recommended 3 (Rainbow)\n- Character Set\n  recommended 1 (Unicode)\n- Show current time\n  recommended 1 (No)\n- Prompt Separator\n  recommended 1 (Angled)\n- Prompt Heads\n  recommended 1 (Sharp)\n- Prompt Tails\n  recommended 1 (Flat)\n- Prompt Height\n  recommended 1 (One Line)\n- Prompt Connection\n  recommended 1 (Disconnected)\n- Prompt Frame\n  recommended 1 (No Frame)\n- Prompt Spacing\n  recommended 2 (Sparse)\n- Icons\n  recommended 2 (Many Icons)\n- Prompt Flow\n  recommended 1 (Concise)\n- Enable Transient Prompt\n  recommended n (No)\n- Instant Prompt Mode\n  recommended 1 (Verbose)\n- Apply Changes to ~/.zshrc\n  y\n\nCustomize the Powerlevel10K theme\n\n```\np10k configure\n```\n\nRestart your terminal.\n\n```\nexec zsh\n```\n\nhttps://ohmyz.sh/\nhttps://github.com/romkatv/powerlevel10k\n\nTo show username on terminal\nGo to root directory\nOpen the ~/.p10k.zsh file by\n\n```\nvim ~/.p10k.zsh gedit ~/.p10k.zsh\n```\n\nPress Ctrl+F \u0026 type\n\n```\ntypeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION=\n```\n\nYou will able to see\n\n```\n# Don't show context unless running with privileges or in SSH.\n# Tip: Remove the next line to always show context.\ntypeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION=\n```\n\nChanges to\n\n```\n# Don't show context unless running with privileges or in SSH.\n# Tip: Remove the next line to always show context.\n# typeset -g POWERLEVEL9K_CONTEXT_{DEFAULT,SUDO}_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION=\n```\n\nPress Ctrl+S. Exit the file.\nNow restart the terminal.\nYou can see the username on the top right corner.\n\n## How To Contribute\n\n1. Fork this repository\n2. Clone on your local environment with IDE.\n3. Makes your changes to code.\n4. Commit your changes.\n5. Create a new pull request\n6. Wait for the pull request to be merged.\n\n**Note:** If you want to do a major changes than first create an Issue.\n\n## License\n\nThis project is licensed under [GPL-3.0](https://github.com/mrhrifat/terminal-customization/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrhrifat%2Fterminal-customization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrhrifat%2Fterminal-customization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrhrifat%2Fterminal-customization/lists"}