{"id":30135535,"url":"https://github.com/sv222/bash-for-windows","last_synced_at":"2026-04-18T01:36:27.974Z","repository":{"id":308236833,"uuid":"1032107320","full_name":"sv222/bash-for-windows","owner":"sv222","description":"Nushell config for 100% Bash Compatibility for Windows. 100% Bash commands for Windows without WSL/Git Bash.","archived":false,"fork":false,"pushed_at":"2025-08-04T20:31:21.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-23T05:36:42.842Z","etag":null,"topics":["bash","config","nu","nushell","windows"],"latest_commit_sha":null,"homepage":"","language":"Nushell","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/sv222.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,"zenodo":null}},"created_at":"2025-08-04T20:19:48.000Z","updated_at":"2025-08-04T20:31:24.000Z","dependencies_parsed_at":"2025-08-04T23:00:01.146Z","dependency_job_id":"c3c42263-5672-4890-94e7-6e5db1dfb4f8","html_url":"https://github.com/sv222/bash-for-windows","commit_stats":null,"previous_names":["sv222/bash-for-windows"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sv222/bash-for-windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fbash-for-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fbash-for-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fbash-for-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fbash-for-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sv222","download_url":"https://codeload.github.com/sv222/bash-for-windows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fbash-for-windows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"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":["bash","config","nu","nushell","windows"],"created_at":"2025-08-10T22:50:14.311Z","updated_at":"2026-04-18T01:36:27.953Z","avatar_url":"https://github.com/sv222.png","language":"Nushell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 100% Bash Commands for Windows without WSL/Git Bash (Nushell Aliases for Bash)\n\n[![Nushell](https://img.shields.io/badge/Nushell-0.106+-blue.svg)](https://nushell.sh)\n[![Windows](https://img.shields.io/badge/Windows-11-blue.svg)](https://www.microsoft.com/windows)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n\n**The Problem**\n\nWindows doesn't have native Bash without WSL or Git Bash installation. When you try modern shells like Nushell, you lose familiar Bash commands and have to relearn everything.\n\n**The Solution**\n\nThis configuration bridges that gap! Get 100% Bash command compatibility in Nushell on Windows - no WSL, no Git Bash, no relearning required.\n\nUse all your favorite Bash commands (`ll`, `grep`, `ps`, `kill`, `git shortcuts`) exactly as you would in Linux/macOS, but with the power and speed of modern Nushell shell.\n\nBased on the official [Nushell migration guide from Bash](https://www.nushell.sh/book/coming_from_bash.html), this config provides complete command equivalents and familiar workflows for Windows users.\n\n## 📦 Installation\n\n1. **Install Nushell** (if not already installed):\n   ```powershell\n   winget install nushell\n   ```\n   or\n   ```powershell\n   choco install nushell\n   ```\n\n2. **Open Nushell config**:\n   ```bash\n   $env.config.buffer_editor = \"C:/Windows/System32/notepad.exe\"\n   config nu\n   ```\n\n3. **Copy content** from `config.nu` in this repository and paste it into the opened config file!\n\n4. **Save and restart** Nushell\n\n## 🌟 Features\n\n### 📁 **File Operations**\n- `ll`, `la`, `l`, `lh` - Enhanced directory listings\n- `lt`, `ltr` - Time-sorted file listings  \n- `lsd`, `lsf` - Directory/file-only listings\n- `..`, `...`, `....` - Quick navigation shortcuts\n\n### 🔍 **Text Processing**\n- `grep`, `grepi` - Pattern searching with case options\n- `head`, `tail` - File content preview\n- `wc` - Word/line/character counting\n- `uniq`, `sort` - Data manipulation\n- `cut` - Field extraction\n\n### ⚙️ **System Management**\n- `ps`, `psg`, `psk` - Process management\n- `free`, `uptime`, `whoami` - System information\n- `top` - Process monitoring\n- `kill-by-name`, `kill-by-port` - Process termination\n\n### 🔧 **Git Workflow**\n- `g`, `gs`, `ga`, `gc`, `gco` - Git shortcuts\n- `gd`, `gl`, `gp`, `gpl` - Diff, log, push/pull\n- `gb`, `gba`, `gr` - Branch and remote management\n\n### 🗃️ **Archive Operations**\n- `zip`, `unzip` - Archive handling with PowerShell integration\n- Windows-native compression support\n\n### 🏠 **Quick Navigation**\n- `home`, `desktop`, `downloads`, `documents` - Common locations\n- `root` - Drive root access\n\n## 💡 Usage Examples\n\n```bash\n# File operations\nll                    # detailed file listing\nla                    # all files including hidden\n...                   # navigate up directories\n\n# Text processing  \ngrep \"error\" log.txt  # search patterns\nhead 20               # first 20 lines\ntail 10               # last 10 lines\n\n# Git workflow\ngs                    # git status\nga .                  # git add all\ngcm \"message\"         # git commit with message\n\n# System info\nfree                  # memory information\nwhoami                # current user\nps                    # list processes\n```\n\n## 📋 Available Commands\n\n**File Operations:** `ll`, `la`, `l`, `lt`, `ltr`, `lsd`, `lsf`, `..`, `...`, `....`\n\n**Git Shortcuts:** `g`, `gs`, `ga`, `gc`, `gcm`, `gco`, `gb`, `gd`, `gl`, `gp`, `gpl`\n\n**System Commands:** `free`, `uptime`, `whoami`, `top`, `ps`, `psg`, `kill-by-name`\n\n**Text Processing:** `grep`, `grepi`, `head`, `tail`, `wc`, `uniq`, `cut`\n\n**Navigation:** `home`, `desktop`, `downloads`, `documents`, `root`\n\n## 🔧 Requirements\n\n- **Nushell** 0.106.1 or later\n- **Windows** 11 (tested, may work on Windows 10)\n\n## 📝 License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv222%2Fbash-for-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsv222%2Fbash-for-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv222%2Fbash-for-windows/lists"}