{"id":26159997,"url":"https://github.com/acupofair/dotfiles","last_synced_at":"2025-08-12T09:10:54.447Z","repository":{"id":65853444,"uuid":"447452138","full_name":"ACupofAir/dotfiles","owner":"ACupofAir","description":"Powerful scripts of python, bash and powershell \u0026 Useful config files","archived":false,"fork":false,"pushed_at":"2025-03-12T03:05:28.000Z","size":14040,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T00:41:25.013Z","etag":null,"topics":["neovim","powershell","python"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/ACupofAir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-01-13T03:36:23.000Z","updated_at":"2025-03-12T03:05:31.000Z","dependencies_parsed_at":"2023-03-10T19:14:50.037Z","dependency_job_id":"7c60445d-8612-4607-8e24-f815fbdcadbe","html_url":"https://github.com/ACupofAir/dotfiles","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/ACupofAir%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ACupofAir%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ACupofAir%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ACupofAir%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ACupofAir","download_url":"https://codeload.github.com/ACupofAir/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868772,"owners_count":21174758,"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":["neovim","powershell","python"],"created_at":"2025-03-11T11:56:25.007Z","updated_at":"2025-04-14T11:21:29.955Z","avatar_url":"https://github.com/ACupofAir.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003e\ndotfiles\n\u003c/h1\u003e\n\n\u003e Organize my dotfiles with ln command; and sync them with git.\n\n## :gear:Setup\n\n### PowerShell Config\n\n- lookup the powershell version `$PSVersionTable`\n- Install powershell 7\n- `mkdir ~/Document/PowerShell`(📎some version maybe in ~/Documents/WindowsPowerShell, you can `echo $profile`)\n- Install [scoop](https://scoop.sh/)\n- Install [StarShip](https://github.com/starship/starship) `scoop install starship`\n- Install :link:[PSReadline](https://github.com/PowerShell/PSReadLine) **(No need for powershell 7, for it has been built default)** click the link and look the readme\n- Install module [write-big-char](https://github.com/ACupofAir/Write-Big-Char): `Install-Module -Name Write-Big-Char`\n- Install module [directory-stack](https://github.com/ACupofAir/Directory-Stack): `Install-Module -Name directory-stack`\n- `ln -s xxx/dotfile/Microsoft.PowerShell_profile.ps1 $profile`\n\n### Zsh Config `zshrc`\n\n- Clone this repository to your own machine\n- `ln -s thisFoldPosition ~/.zshrc`\n- You should change the proxy ip and port in my zshrc\n\n### Vim Config `vimrc`\n* 🥳Highlight: \n    * It is **completely offline**.\n    * Tabline support.\n* Usage: Just replace this `vimrc` to ~/.vimrc: `cat vimrc \u003e ~/.vimrc`\n![](assets\\README_2025-04-02_11-05-19.png)\n\n### Neovim Config `init.lua`\n\n\u003e `init_offline.lua` is the offline version of user/init.lua\n\n- On windows :window: with :link:[lazyvim](https://www.lazyvim.org/), follow the official tutor to install lazyvim, or use my conifguration following\n\n1. Make a backup of your current Neovim files:\n\n```powershell\nMove-Item $env:LOCALAPPDATA\\nvim $env:LOCALAPPDATA\\nvim.bak\n\n# optional but recommended\nMove-Item $env:LOCALAPPDATA\\nvim-data $env:LOCALAPPDATA\\nvim-data.bak\n```\n\n2. Clone my conifguration\n\n```powershell\ngit clone git@github.com:ACupofAir/lazyvim_config.git $env:LOCALAPPDATA\\nvim\n```\n\n3. Remove the .git folder, so you can add it to your own repo later\n\n```powershell\nRemove-Item $env:LOCALAPPDATA\\nvim\\.git -Recurse -Force\n```\n\n4. Need to rely on other components\n\n- im-select\n\n```bash\nscoop bucket add im-select https://github.com/daipeihust/im-select\nscoop install im-select\n```\n\n- gcc\n\n```bash\nscoop install gcc\n```\n\n- a nerd font: open this [website](https://www.nerdfonts.com/), choose anyone your liked\n\n5. Start Neovim! `nvim`\n\n## :toolbox:Usage\n\n### PowerShell\n\n- Directors Stack Function (no need install other plugins)\n  ![dir_stack_demo](res/dir_stack_demo.gif)\n  - `pd`: pushd the current directory into stack\n  - `pd $dir_name`: pushd the directory named `$dir_name` into stack\n  - `dv`: show the directory in stack(dv is the alias from `dirs -v` on linux)\n  - `pd $index`: switch to the directory in stack whose index is `$index`\n  - `pp $index`: popd the directory whose index is `$index` from stack\n- Proxy Usage\n  - `pxon`: set proxy\n  - `pxoff`: clear proxy\n  - `Set-Git-Proxy`: set git proxy\n- Historys\n  - need install [PSReadline](https://github.com/PowerShell/PSReadLine)\n  - `historys` will show all powershell command history\n- Translator\n  - need install python and [google-translate-for-goldendict](https://github.com/xinebf/google-translate-for-goldendict)\n  - `trans $text` will translate `$text` to English or Chinese\n- Draw String Bigger\n  ![](https://github.com/ACupofAir/Write-Big-Char/blob/main/res/2023-02-15-17-06-07.png?raw=true)\n  - `draw $TEXT`: draw `$TEXT` bigger on powershell\n\n## :warning:note\n\n- Should use full path `ln -s $fullpath/dotfile/xxx $fullpath/xxx`\n- Should use `sudo` prefix\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facupofair%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facupofair%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facupofair%2Fdotfiles/lists"}