Last active
November 28, 2025 18:10
-
-
Save sidneyspe/1c5365c9f07b18406f4cbcd9eaa3aba1 to your computer and use it in GitHub Desktop.
.bashrc for windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eval "$(starship init bash)" | |
| . "$HOME/.asdf/asdf.sh" | |
| . "$HOME/.asdf/completions/asdf.bash" | |
| alias ls='lsd' | |
| alias la='lsd -la' | |
| alias l='ls -l' | |
| alias la='ls -a' | |
| alias lla='ls -la' | |
| alias lt='ls --tree' | |
| alias cls='clear' | |
| alias dockerstopall='docker ps -a -q | xargs -n 1 -P 8 -I {} docker stop {}' | |
| alias dockerremoveall='docker ps -a -q | xargs -n 1 -P 8 -I {} docker rm {}' | |
| alias dockersystemprune='docker system prune -a && docker system prune -a --volumes' | |
| # Make some random strings | |
| alias rando="cat /dev/urandom | base64 | tr -dc 'a-km-zA-KM-Z02-9-_!@#$%^&*+|' | fold -w 16 | head -n 4" | |
| # mkdir ~/bash_completion.d | |
| # curl -o ~/bash_completion.d/git https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash | |
| source ~/bash_completion.d/git | |
| # Docker CLI: | |
| # curl -o ~/bash_completion.d/docker https://raw.githubusercontent.com/docker/cli/master/contrib/completion/bash/docker | |
| source ~/bash_completion.d/docker | |
| # Docker Machine | |
| # curl -o ~/bash_completion.d/docker-machine https://raw.githubusercontent.com/docker/machine/v0.16.0/contrib/completion/bash/docker-machine.bash | |
| source ~/bash_completion.d/docker-machine | |
| # Docker Compose: | |
| # curl -o ~/bash_completion.d/docker-compose https://raw.githubusercontent.com/docker/compose/1.25.3/contrib/completion/bash/docker-compose | |
| source ~/bash_completion.d/docker-compose | |
| export PATH="/c/ProgramData/chocolatey/bin:/c/Users/$USER/AppData/Local/bun/bin:$PATH" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment