UNPKG

@sebastienrousseau/dotfiles

Version:

Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.

56 lines (41 loc) β€’ 1.86 kB
<!-- markdownlint-disable MD033 MD041 MD043 --> <img src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg" alt="dotfiles logo" width="66" align="right" /> <!-- markdownlint-enable MD033 MD041 --> # Dotfiles (v0.2.469) Simply designed to fit your shell life 🐚 ![Dotfiles banner][banner] ## πŸ…ΈπŸ…½πŸ†ƒπŸ…΄πŸ†πŸ…°πŸ…²πŸ†ƒπŸ…ΈπŸ†…πŸ…΄ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚ This code provides a set of interactive aliases for common command line operations. The aliases are designed to simplify and enhance the user experience by adding interactive prompts before executing potentially destructive operations. ### File manipulation aliases * `cp` Copy files and directories interactively (ask before overwrite) with verbose output. * `del` Remove files or directories interactively (ask before each removal) with verbose output, recursively. * `ln` Create symbolic links interactively (ask before overwrite) with verbose output. * `mv` Move or rename files interactively (ask before overwrite) with verbose output. * `rm` Remove files or directories interactively (ask before each removal) with verbose output. * `zap` Alias for 'rm', removes files or directories interactively (ask before each removal) with verbose output. ### Trash manipulation alias * `bin` Remove all files in the trash directory (user's .Trash) forcefully and recursively. ### Other interactive aliases * `chmod` Change file or directory permissions with verbose output. * `chown` Change file or directory owner and group with verbose output. * `diff` Compare and show differences between two files in unified format. * `grep` Search for a pattern in files or output, showing line numbers and case-insensitively. * `mkdir` Create a new directory, making parent directories as needed, with verbose output. [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg