Universal command set and colourful shell configurations for Bash, Zsh and Powershell, compatible with macOS, Windows and (partially) Linux, all managed easily using chezmoi.
- Unified set of aliases and commands.
- Familiar feel and creature comforts across environments.
- Cross-platform file management toolset.
- Easy access to common paths.
- Shortcuts to popular cross-platform apps.
- System-agnostic
update
anddotfiles
install commands. - A pretty interface! π
Use either one or many of these, the config files will be in place and ready to provide a familiar interface.
- Bash π§ο£Ώ:
~/.bashrc
enhanced with Bash-It! - PowerShell 5.1+ π§ο£Ώβ:
~/.config/powershell/
enhanced with Oh-My-Posh, Terminal Icons, and others! - Z shell π§ο£Ώ:
~/.zshrc
enhanced with Oh-My-Zsh, Powerlevel10K, and others!
- Hyper π§ο£Ώβ:
~/.hyper.js
- iTerm2 ο£Ώ:
~/.config/iterm/
- macOS Terminal ο£Ώ
- Windows Terminal β:
~/.config/windows_terminal/
- Homebrew ο£Ώ:
~/.Brewfile
- Scoop β
- chezmoi dotfiles manager:
~/.chezmoi.toml
- cURL data transfer tool:
~/.curlrc
- Git version-control system:
~/.gitconfig
- GNU Nano 4.x+ text editor:
~/.nanorc
enhanced with Improved Nano Syntax Highlighting Files! - GNU Wget HTTP/FTP file downloader:
~/.wgetrc
- Micro text editor:
~/.config/micro/
- OpenSSH secure networking utilities:
~/.ssh/config
- Ripgrep fast-search tool:
~/.ripgreprc
- SQLite3 database client:
~/.sqliterc
- Starship π cross-shell prompt:
~/.config/starship.toml
- tmux terminal multiplexer:
~/.tmux.conf.local
enhanced with Oh-My-Tmux! - Vim text editor:
~/.vimrc
enhanced with Ultimate vimrc!
These are unified CLI commands available amongst different shells on all platforms. While some of their outputs may differ in style between different environments, their usage and behaviours remain universal.
Additional aliases are provided by Bash-It, Oh-My-Zsh and Powershell, and are listed by using the command alias
.
System-specific aliases are marked with ο£Ώ, β, or π§.
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | ~ |
Navigates to user home directory. |
β | β | β | cd- |
Navigates to last used directory. |
β | β | β | .. cd.. |
Navigates up a directory. |
β | β | β | ... |
Navigates up two directories. |
β | β | β | .... |
Navigates up three directories. |
β | β | β | ..... |
Navigates up four directories. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | l |
Lists visible files in long format. |
β | β | β | ll |
Lists all files in long format, excluding . and .. . |
β | β | β | lsd |
Lists only directories in long format. |
β | β | β | lsh |
Lists only hidden files in long format. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | cpv |
Copies a file securely. |
β | β | β | fd |
Finds directories. |
β | β | β | ff |
Finds files. |
β | β | β | mirror |
Mirrors directories. |
β | β | β | rg |
Searches recursively with ripgrep. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | alias |
Lists aliases. |
β | β | β | c |
Clears the console screen. |
β | β | β | extract x |
Extracts common file formats. Usage: extract solarized.zip |
β | β | β | h |
Displays/Searches global history. Usage: h Usage: h cd |
β | β | hs |
Displays/Searches session history. Usage: hs Usage: hs cd |
|
β | β | β | mkcd take |
Creates directory and change to it. Usage: mkcd foldername |
β | β | β | reload |
Reloads the shell. |
β | β | β | repeat r |
Repeats a command x times.Usage: repeat 5 echo hello . |
β | β | β | resource |
Reloads configuration. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | now unow |
Gets local/UTC date and time in ISO 8601 format YYYY-MM-DDThh:mm:ss . |
β | β | β | nowdate unowdate |
Gets local/UTC date in YYYY-MM-DD format. |
β | β | β | nowtime unowtime |
Gets local/UTC time in hh:mm:ss format. |
β | β | β | timestamp |
Gets Unix time stamp. |
β | β | β | week |
Gets week number in ISO 8601 format YYYY-Www . |
β | β | β | weekday |
Gets weekday number. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | fastping |
Pings hostname(s) 30 times in quick succession. |
β | β | β | flushdns |
Flushes the DNS cache. |
β | β | β | ips |
Gets all IP addresses. |
β | β | β | localip |
Gets local IP address. |
β | β | β | publicip |
Gets external IP address. |
β | β | β | GET HEAD POST PUT DELETE TRACE OPTIONS |
Sends HTTP requests. _Usage: GET https://example.com |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | hibernate |
Hibernates the system. |
β | β | β | lock |
Locks the session. |
β | β | β | poweroff |
Shuts down the system. |
β | β | β | reboot |
Restarts the system. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | mnt |
Lists drive mounts. |
β | β | β | path |
Prints each $PATH entry on a separate line. |
β | β | β | sysinfo |
Displays information about the system. Uses either Winfetch, Neofetch, or Screenfetch. |
β | β | β | top |
Monitors processes and system resources. Uses either atop, htop, ntop β, or native. |
β | β | β | update |
Keeps all apps and packages up to date. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | browse |
Opens file/URL in default browser. Usage: browse https://example.com |
β | β | β | chrome |
Opens file/URL in Chrome. |
β | β | β | edge |
Opens file/URL in Microsoft Edge. |
β | β | β | firefox |
Opens file/URL in Firefox. |
β | β | β | iexplore |
Opens file/URL in Internet Explorer. β |
β | β | β | opera |
Opens file/URL in Opera. |
β | β | β | safari |
Opens file/URL in Safari. ο£Ώ |
β | β | β | ss |
Enters the Starship π cross-shell prompt. |
β | β | β | subl st |
Opens in Sublime Text. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | dk |
π³ Alias for docker . |
β | β | β | dco |
π³ Alias for docker-compose . |
β | β | β | g |
Alias for git . |
β | β | β | va |
π Activates Python virtual environment venv . |
β | β | β | ve |
π Creates Python virtual environment venv . |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | hidedesktop showdesktop |
Toggles display of desktop icons. |
β | β | β | hidefiles showfiles |
Toggles hidden files display in Finder. |
β | β | β | spotoff spoton |
Toggles Spotlight. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | hidefiles showfiles |
Toggles hidden files display in File Explorer. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | dls |
Navigates to ~/Downloads . |
β | β | β | docs |
Navigates to ~/Documents . |
β | β | β | dt |
Navigates to ~/Desktop . |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | chezmoiconf |
Navigates to Chezmoi's local configuration repo. |
β | β | β | powershellconf |
Navigates to Powershell's profile location. |
β | β | β | sublimeconf |
Navigates to Sublime Text's local configuration repo. |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | archives |
Navigates to ~/Archives . |
β | β | β | repos |
Navigates to ~/Code . |
Bash | PowerShell | Zsh | Command | Description |
---|---|---|---|---|
β | β | β | cb |
π Copies contents to the clipboard. |
β | β | β | cbpaste |
π Pastes the contents of the clipboard. |
β | β | β | md5sum |
#οΈβ£ Calculates MD5 hashes. |
β | β | β | sha1sum |
#οΈβ£ Calculates SHA1 hashes. |
β | β | β | sha256sum |
#οΈβ£ Calculates SHA256 hashes. |
β | β | β | forecast |
π€οΈ Displays detailed weather and forecast. |
β | β | β | weather |
π€οΈ Displays current weather. |
- Digital Ocean: What are your favorite bash aliases?
- GitHub: dotfiles
- GitHub: Jay Harris' Windows dotfiles
- GitHub: Jan Moesen's dotfiles
- GitHub: Mathias Bynens' dotfiles
- nixCraft: 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
Don't forget to βοΈ or π± this repo! π
Assembled with β€οΈ in MontrΓ©al.