{"id":19179461,"url":"https://github.com/shell-ninja/Bash","last_synced_at":"2025-04-20T03:33:19.655Z","repository":{"id":239455391,"uuid":"799575433","full_name":"shell-ninja/Bash","owner":"shell-ninja","description":"A simple and useful bash script","archived":false,"fork":false,"pushed_at":"2025-04-11T12:55:16.000Z","size":9476,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T14:19:09.973Z","etag":null,"topics":["auto-suggestion","autocomplete","bash","bash-alias","bash-completion","bash-configuration","bashrc","linux"],"latest_commit_sha":null,"homepage":"","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/shell-ninja.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":"2024-05-12T14:54:26.000Z","updated_at":"2025-04-11T12:55:21.000Z","dependencies_parsed_at":"2024-06-14T11:42:16.490Z","dependency_job_id":"c1ec3e4e-d8ff-4cee-a42e-87de466f9f66","html_url":"https://github.com/shell-ninja/Bash","commit_stats":null,"previous_names":["me-js-bro/bash","shell-ninja/bash"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shell-ninja%2FBash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shell-ninja%2FBash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shell-ninja%2FBash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shell-ninja%2FBash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shell-ninja","download_url":"https://codeload.github.com/shell-ninja/Bash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249845517,"owners_count":21333728,"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":["auto-suggestion","autocomplete","bash","bash-alias","bash-completion","bash-configuration","bashrc","linux"],"created_at":"2024-11-09T10:43:15.160Z","updated_at":"2025-04-20T03:33:19.648Z","avatar_url":"https://github.com/shell-ninja.png","language":"Shell","readme":"\u003ch1 align='center'\u003eMy personl Bash Customization\u003c/h1\u003e\n\n## Short Description\n\n#### Those who don't want to install and configure any other shell like the `zsh` or the `fish` shell, want to stay in the default `bash`, also want to make the experience of the bash more easy, can easily install this configuration. Just simply run the `install.sh` script. It will install some necessary packages and a github repo. And then you can enjoy the configuration.\n\n\u003cbr\u003e\n\n## Here are some screenshos\n\n### Styles\n\n\u003cp\u003e \u003cimg align=\"center\" width=\"99%\" src=\"https://github.com/shell-ninja/Screen-Shots/blob/main/bash/ScreenShots/1.png?raw=true\" /\u003e \u003c/p\u003e\n\n\u003cp\u003e \u003cimg align=\"center\" width=\"49%\" src=\"https://github.com/shell-ninja/Screen-Shots/blob/main/bash/ScreenShots/2.png?raw=true\" /\u003e \u003cimg align=\"center\" width=\"49%\" src=\"https://github.com/shell-ninja/Screen-Shots/blob/main/bash/ScreenShots/3.png?raw=true\" /\u003e\u003c/p\u003e\n\n\u003cbr\u003e\n\n### Features\n\n\u003cp\u003e\n\u003cimg align=\"center\" width=\"99%\" src=\"https://github.com/shell-ninja/Screen-Shots/blob/main/bash/ScreenShots/find.png?raw=true\" /\u003e\n\n\u003cimg align=\"center\" width=\"49%\" src=\"https://github.com/shell-ninja/Screen-Shots/blob/main/bash/ScreenShots/cd.png?raw=true\" /\u003e \u003cimg align=\"center\" width=\"49%\" src=\"https://github.com/shell-ninja/Screen-Shots/blob/main/bash/ScreenShots/fuck.png?raw=true\" /\u003e\n\n\u003cimg align=\"center\" width=\"99%\" src=\"https://github.com/shell-ninja/Screen-Shots/blob/main/bash/ScreenShots/syntax-highlighting.png?raw=true\" /\u003e\n\n\u003c/p\u003e\n\n## A short video\n\nhttps://github.com/user-attachments/assets/319eeb90-b4d5-41a4-ab18-87389f7bbfcf\n\n## Before Installation\n\nMake sure you install any of the nerd font's and set that font in your terminal, so that the prompt look nice. I suggest to use the `JetBrains Mono Nerd Font`. Just visit [Here](https://nerdfonts.com) and download the font and install it using your Font Manager. Then set the font in your Terminal.\n\u003cbr\u003e\n\n## Features\n\n1. Shortcuts \u003cbr\u003e\n2. Some functions for install, uninstall, check updates, update packages and so on \u003cbr\u003e\n3. Syntax Highlighting \u003cbr\u003e\n4. Auto Suggestions \u003cbr\u003e\n5. Fuzzy finder \u003cbr\u003e\n6. Supports transient prompt like 'zsh'\n7. Tree view of directories, files and sub directories \u003cbr\u003e\n8. Memorizing the directories \u003cbr\u003e\n9. Command spell correction \u003cbr\u003e\n10. Git branch name and left commits \u003cbr\u003e\n11. Some cool looking themes \u003cbr\u003e\n\nWhy don't you give it a try?\n\n\u003cbr\u003e\n\n## Installation\n\n### Direct Installation\n\nYou can directly run the command bellow and it will automaticly clone the repository and install the config. Before that make sure you have `curl` installed in your system. If not, simply install it using `pacman`, `dnf`, `zypper` or `apt`.\n\n- Run this command in your terminal:\n\n```\nbash \u003c(curl https://raw.githubusercontent.com/shell-ninja/Bash/main/direct_install.sh)\n```\n\n### Manual Installation\n\n- Open terminal and run these commands.\n\n```\ngit clone --depth=1 https://github.com/shell-ninja/Bash.git\n\ncd Bash\nchmod +x install.sh\n./install.sh\n```\n\n## Edit alias \u0026 functions\n\nSimply go to `~/.bash` directory. Inside it, you will find `.bashrc`, `alias` and `function` file. Just edit these files and you are good to go. Also if you want to add your custom bash prompt, just go to `~/.bash/change_prompt.sh` file and add your prompt.\n\n\u003cbr\u003e\n\n## Command Shortcuts\n\n### 1) Directory Navigation and File Management\n\n| Shortcut | Command         | Description                                                                  |\n| -------- | --------------- | ---------------------------------------------------------------------------- |\n| `cd`     | `cd`            | Change directory. If the directory does not exist, it will ask to create it. |\n| `file`   | `touch`         | Create a file.                                                               |\n| `rm`     | `rm -rf`        | Remove both files and directories.                                           |\n| `cp`     | `cp` or `cp -r` | Remove both files and directories.                                           |\n| `srm`    | `sudo rm -rf`   | Remove both files and directories with the sudo command                      |\n\n### 2) Updated, Install \u0026 Uninstall Related\n\n| Shortcut  | Command                                                                               | Description                                                                                              |\n| --------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |\n| `cu`      | `paru/yay -Qua / checkupdates`, `sudo dnf check-update` or `sudo zypper list-updates` | Checks system updates (Arch, Fedora, OpenSuse. Also prints both Official and Aur updates in Arch Linux). |\n| `update`  | `paru/yay -Syyu`, `sudo dnf upgrade`, `sudo zypper update`, or `sudo apt-get update`  | Updates the system packages (Arch, Fedora, OpenSuse, Debian/Ubuntu).                                     |\n| `install` | `paru/yay -S`, `sudo dnf install`, `zypper install`, or `apt-get install`             | Install package (Arch, Fedora, OpenSuse, Debian/Ubuntu).                                                 |\n| `remove`  | `paru/yay -Rns`, `sduo dnf remove`, `sudo zypper remove`, or `sudo apt-get remove`    | Uninstall package (Arch, Fedora, OpenSuse, Debian/Ubuntu).                                               |\n\n### 3) Git Related\n\n| Shortcut | Command                    | Description                            |\n| -------- | -------------------------- | -------------------------------------- |\n| `add`    | `git add .`                | Add.                                   |\n| `clone`  | `git clone`                | Clone a repository.                    |\n| `cloned` | `git clone --depth=1`      | Clone a repository with depth 1.       |\n| `commit` | `git commit -m`            | Commit with a message.                 |\n| `push`   | `git push`                 | Push changes to the remote repository. |\n| `pushm`  | `git push -u origin main`  | Push changes and set upstream to main. |\n| `pusho`  | `git push origin [branch]` | Push to a specified branch.            |\n| `pull`   | `git pull origin [branch]` | Pull from a specified branch.          |\n| `info`   | `git info`                 | Git Information.                       |\n\n### 4) Changing Style\n\n| Shortcut | Command                         | Description                                         |\n| -------- | ------------------------------- | --------------------------------------------------- |\n| `style`  | `bash ~/.bash/change_prompt.sh` | Execute a script that changes the style of the bash |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshell-ninja%2FBash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshell-ninja%2FBash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshell-ninja%2FBash/lists"}