bashy
bashy handles bash configuration for you
File Explorer
- build.yml
- actionlint.yaml
- FUNDING.yml
- personal.lua
- project.lua
- version.lua
- test.conf
- CodingStyle.txt
- design.txt
- DONE.txt
- GeneralGuidelines.txt
- links.txt
- links_myenv.txt
- plan_done.md
- plan_done2.md
- plan_done3.md
- TODO.txt
- TODO_myenv.txt
- tree.txt
- session.gif
- ttyrecord
- install_in_home.sh
- test_all.sh
- array.sh
- assert.sh
- assoc.sh
- check.sh
- color.sh
- completion.sh
- download.sh
- errexit.sh
- float.sh
- git.sh
- hooks.sh
- install.sh
- log.sh
- measure.sh
- misc.sh
- null.sh
- pathutils.sh
- profile.sh
- python.sh
- source.sh
- var.sh
- version.sh
- ai_agy.sh
- ai_chatgpt.sh
- ai_claude.sh
- ai_copilot.sh
- ansible.sh
- audacity.sh
- aws_bash_completions.sh
- awscli.sh
- azurecli.sh
- bad_symlinks.sh
- bash.sh
- bash_completions_prog.sh
- bash_completions_system.sh
- bash_completions_userdir.sh
- bash_it.sh
- bazel.sh
- bigdata.sh
- brew.sh
- buck2.sh
- careful_aliases.sh
- code.sh
- complete.sh
- config_core.sh
- docker.sh
- dotnet.sh
- drawio.sh
- eksctl.sh
- encfs.sh
- fail.sh
- freetube.sh
- fuck.sh
- fzf.sh
- gh.sh
- git.sh
- go.sh
- google_cloud_sdk.sh
- graal.sh
- gradle.sh
- guile.sh
- gzip.sh
- haskell.sh
- helm.sh
- history.sh
- history_for_multiple_terminals.sh
- homedir_install.sh
- hostaliases.sh
- hugo.sh
- java.sh
- java_jrun.sh
- k8s.sh
- keyring.sh
- kurtosis.sh
- lazygit.sh
- lens.sh
- ls.sh
- lsd.sh
- manpath.sh
- minikube.sh
- ng.sh
- no_mail_check.sh
- node.sh
- nvim.sh
- nvm.sh
- oc.sh
- packer.sh
- pager.sh
- pass.sh
- path_dot_local.sh
- path_remove_games.sh
- perl.sh
- phantomjs.sh
- pip.sh
- podman.sh
- postgresql.sh
- powerline-shell.sh
- powerline.sh
- prompt.sh
- prompt_auto.sh
- prompt_aws.sh
- prompt_error.sh
- prompt_gcp.sh
- prompt_gems.sh
- prompt_k8s.sh
- prompt_myenv.sh
- prompt_node.sh
- prompt_uv.sh
- proxy.sh
- pureline.sh
- pycharm.sh
- pyenv.sh
- pypowerline.sh
- python.sh
- python_local.sh
- python_venv.sh
- ruby.sh
- rust.sh
- rvm.sh
- screen.sh
- spark.sh
- ssh_agent.sh
- starship.sh
- system_default_bashrc.sh
- terraform.sh
- tmux.sh
- umask.sh
- uv.sh
- vim.sh
- virutalenvwrapper.sh
- xinput.sh
- zola.sh
- zoom.sh
- zoxide.sh
- array.sh
- assoc.sh
- check.sh
- completion.sh
- download.sh
- errexit.sh
- float.sh
- hooks.sh
- install.sh
- measure.sh
- pathutils.sh
- profile.sh
- prompt.sh
- prompt_uv.sh
- python.sh
- runtime.sh
- var.sh
- bashy.list
- bashy.sh
- main.md.tera
- version.sh.tera
- README.md.tera
- .editorconfig
- .gitignore
- .includes
- .luacheckrc
- .rumdl.toml
- .shellcheckrc
- CLAUDE.md
- LICENSE
- README.md
- rsconstruct.toml
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
git rev-parse
View Details ▼
git rev-parse
Display metadata related to revisions.
git rev-parse {{branch_name}}
Get the commit hash of a branch:
git rev-parse --abbrev-ref {{HEAD}}
Get the current branch name:
git rev-parse --show-toplevel
Get the absolute path to the root directory:
git
View Details ▼
git
Distributed version control system.
Some subcommands such as `commit`, `add`, `branch`, `switch`, `push`, etc. have their own usage documentation.
git init
Create an empty Git repository:
git clone {{https://example.com/repo.git}}
Clone a remote Git repository from the internet:
git status
View the status of the local repository:
starship init
View Details ▼
starship init
Print shell integration code for starship.
starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh}}
Print the starship integration code for the specified shell:
starship init {{bash}} >> {{~/.bashrc}}
Append the `starship` integration code to `~/.bashrc`:
starship init {{zsh}} >> {{~/.zshrc}}
Append the `starship` integration code to `~/.zshrc`:
then
View Details ▼
then
This shell keyword is used in combination with `if` and `elif` to separate branches and branch conditions.
tldr if
View documentation for `if` command:
zoxide
View Details ▼
zoxide
Keep track of the most frequently used directories.
Uses a ranking algorithm to navigate to the best match.
zoxide query string
Go to the highest-ranked directory that contains `string` in the name:
zoxide query string1 string2
Go to the highest-ranked directory that contains `string1` and then `string2`:
zoxide query {{[-i|--interactive]}}
Start an interactive directory search (requires `fzf`):
