{"id":20522192,"url":"https://github.com/piperliu/os-rc-profiles","last_synced_at":"2026-03-11T07:33:05.306Z","repository":{"id":118616100,"uuid":"291394195","full_name":"PiperLiu/OS-rc-profiles","owner":"PiperLiu","description":"sth like .vimrc, .zshrc and .ps","archived":false,"fork":false,"pushed_at":"2021-05-02T13:57:33.000Z","size":14,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T02:53:29.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PiperLiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-08-30T03:40:04.000Z","updated_at":"2023-09-27T15:56:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf5c5a37-670a-4ad6-af36-b8b7930993bb","html_url":"https://github.com/PiperLiu/OS-rc-profiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PiperLiu/OS-rc-profiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiperLiu%2FOS-rc-profiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiperLiu%2FOS-rc-profiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiperLiu%2FOS-rc-profiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiperLiu%2FOS-rc-profiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiperLiu","download_url":"https://codeload.github.com/PiperLiu/OS-rc-profiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiperLiu%2FOS-rc-profiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30374316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-15T22:34:27.775Z","updated_at":"2026-03-11T07:33:05.290Z","avatar_url":"https://github.com/PiperLiu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rc files\n\n\u003c!-- @import \"[TOC]\" {cmd=\"toc\" depthFrom=1 depthTo=6 orderedList=false} --\u003e\n\n\u003c!-- code_chunk_output --\u003e\n\n- [rc files](#rc-files)\n  - [Very Basic Profile](#very-basic-profile)\n    - [Linux](#linux)\n    - [Windows: PS and Windows Terminal](#windows-ps-and-windows-terminal)\n\n\u003c!-- /code_chunk_output --\u003e\n\n## Very Basic Profile\n### Linux\nWhen getting a Linux server, `~/.vimrc` it: [.vimrc](./.vimrc), no need for any plugins.\n**However, I found that using `wget -qO- https://raw.github.com/ma6174/vim/master/setup.sh | sh -x` from [github.com/ma6174/vim](https://github.com/ma6174/vim) is quite easier and better.**\n\nThen `zsh`:\n```\n# install zsh (Ubuntu)\napt-get install zsh\n\n# install oh-my-zsh\nsh -c \"$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)\"\n\n# cat shells\ncat /etc/shells\n\n# default shell is zsh\nchsh -s /bin/zsh\n\n# create profile\ncp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc\n\n# install one plugin : zsh-syntax-highlighting\ncd ~/.oh-my-zsh/plugins\ngit clone https://github.com/zsh-users/zsh-syntax-highlighting.git\n```\nThen, `~/.zshrc`: [.zshrc](./zshrc).\n\n### Windows: PS and Windows Terminal\nFollowing is old version of configuration, see more in [ps/README](./ps/README.md)\n\nMainly refer to [this article](https://www.bilibili.com/read/cv3878542), in powershell:\n```\n# install chocolatey\nSet-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))\n\n# install oh-my-posh\nchoco install ConEmu\nInstall-Module posh-git -Scope CurrentUser\nInstall-Module oh-my-posh -Scope CurrentUser\n\n# make profile\nif (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }\n\n# open $PROFILE\nnotepad $PROFILE\n\n# add those codes in $PROFILE:\n#   Import-Module posh-git\n#   Import-Module oh-my-posh\n#   Set-Theme Paradox\n\n# allow PS with script\nset-executionpolicy remotesigned\n\n# in Microsoft Store, install Windows Terminal\n\n# download and install font:\n# https://github.com/adam7/delugia-code/releases/download/v1910.04.1/Delugia.Nerd.Font.Complete.ttf\n```\nSettings for Windows Terminal: [windows_terminal: settings.json](./windows_terminal/settings.json)\n\nInstall two plugins:\n```\n# PoShFuck\nSet-ExecutionPolicy RemoteSigned iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/mattparkes/PoShFuck/master/Install-TheFucker.ps1'))\n\n# fzf\nchoco install fzf\nInstall-Module PSFzf\n```\n\nThen `$PROFILE`: [powershell: Microsoft.PowerShell_profile.ps1n](Microsoft.PowerShell_profile.ps1n).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiperliu%2Fos-rc-profiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiperliu%2Fos-rc-profiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiperliu%2Fos-rc-profiles/lists"}