• Stars
    star
    144
  • Rank 255,590 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

~/. Cross-platform, cross-shell configuration files. โš™๏ธ๐Ÿ’ป

~/.ย ๐Ÿ“‚
Cross-platform, cross-shell dotfiles
powered by chezmoi ๐Ÿ 

Codacy rating CodeFactor rating License Repo analytics Tweet

Universal command set and colourful shell configurations for Bash, Zsh and Powershell, compatible with macOS, Windows and (partially) Linux, all managed easily using chezmoi.

Be sure to โญ๏ธ or ๐Ÿ”ฑ this repo if you find it useful! ๐Ÿ˜ƒ

Project goals โšฝ

  • 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 and dotfiles install commands.
  • A pretty interface! ๐Ÿ’ƒ

๐Ÿ”

Supported toolset ๐Ÿ› ๏ธ

Use either one or many of these, the config files will be in place and ready to provide a familiar interface.

๐Ÿš Shells

๐Ÿ’ป Terminals

๐Ÿ“ฆ Package managers

๐Ÿ’พ Universal apps ๐Ÿง๏ฃฟโŠž

๐Ÿ”

Cross-shell compatibility matrix ๐Ÿ

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 ๐Ÿง.

๐Ÿงญ Easier navigation

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.

๐Ÿ”

๐Ÿ—‚๏ธ Directory browsing

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.

๐Ÿ”

๐Ÿ—„๏ธ File management

Bash PowerShell Zsh Command Description
โœ… โœ… โœ… cpv Copies a file securely.
โœ… โœ… โœ… fd Finds directories.
โœ… โœ… โœ… ff Finds files.
โŒ โœ… โŒ mirror Mirrors directories.
โœ… โœ… โœ… rg Searches recursively with ripgrep.

๐Ÿ”

๐Ÿ’ก General aliases

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.

๐Ÿ”

๐Ÿ•™ Time

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.

๐Ÿ”

๐ŸŒ Networking

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

๐Ÿ”

โšก Power management

Bash PowerShell Zsh Command Description
โœ… โœ… โœ… hibernate Hibernates the system.
โœ… โœ… โœ… lock Locks the session.
โœ… โœ… โœ… poweroff Shuts down the system.
โœ… โœ… โœ… reboot Restarts the system.

๐Ÿ”

๐Ÿค“ Sysadmin

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.

๐Ÿ”

๐Ÿ–ฅ๏ธ Applications

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.

๐Ÿ”

๐Ÿ‘ฉโ€๐Ÿ’ป Development

Bash PowerShell Zsh Command Description
โœ… โœ… โœ… dk ๐Ÿณ Alias for docker.
โœ… โœ… โœ… dco ๐Ÿณ Alias for docker-compose.
โœ… โœ… โœ… g :octocat: Alias for git.
โœ… โœ… โœ… va ๐Ÿ Activates Python virtual environment venv.
โœ… โœ… โœ… ve ๐Ÿ Creates Python virtual environment venv.

๐Ÿ”

๏ฃฟ macOS

Bash PowerShell Zsh Command Description
โœ… โœ… โœ… hidedesktop
showdesktop
Toggles display of desktop icons.
โœ… โœ… โœ… hidefiles
showfiles
Toggles hidden files display in Finder.
โœ… โœ… โœ… spotoff
spoton
Toggles Spotlight.

๐Ÿ”

โŠž Windows

Bash PowerShell Zsh Command Description
โ” โœ… โ” hidefiles
showfiles
Toggles hidden files display in File Explorer.

๐Ÿ”

๐Ÿ“ Common paths

Bash PowerShell Zsh Command Description
โœ… โœ… โœ… dls Navigates to ~/Downloads.
โœ… โœ… โœ… docs Navigates to ~/Documents.
โœ… โœ… โœ… dt Navigates to ~/Desktop.

๐Ÿ”

๐Ÿ“ Configuration paths

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.

๐Ÿ”

๐Ÿ“ Custom paths

Bash PowerShell Zsh Command Description
โœ… โœ… โœ… archives Navigates to ~/Archives.
โœ… โœ… โœ… repos Navigates to ~/Code.

๐Ÿ”

๐ŸŒฑ Varia

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.

๐Ÿ”

Inspirations ๐Ÿ’ก

๐Ÿ”

Don't forget to โญ๏ธ or ๐Ÿ”ฑ this repo! ๐Ÿ˜ƒ
Assembled with โค๏ธ in Montrรฉal.