trash-cli
zsh-abbr
trash-cli | zsh-abbr | |
---|---|---|
4 | 26 | |
1,282 | 481 | |
- | - | |
1.6 | 7.7 | |
11 months ago | 3 days ago | |
JavaScript | Shell | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
trash-cli
-
Accidently deleted a bunch of folders and files inside home directory. I don't have any backups. What do I do?
trashcli
-
Terminate the Timeworn Terminals
trash-cli puts items inside your system's trash instead of wiping it completely from existence
-
trash-cli: rm alternative that lets you restore deleted files
Link: https://github.com/sindresorhus/trash-cli
-
$ sudo rm -rf / === NPM install
I believe Apple forked rm to provide protection for this case?
Also, if you're willing to lean into npm a bit, there's tools that give a layer of protection over rm such as https://github.com/sindresorhus/trash-cli
zsh-abbr
- Favorite aliases?
-
zsh-abbr v5 released 🚢 starring multi-word abbreviations
If you have trouble, open a GitHub issue https://github.com/olets/zsh-abbr/issues/new/choose
- zsh-abbr v4.8.3: better zsh-autosuggestions support
- zsh-abbr v5.0.0.beta-1 pre-release. multi-word abbreviations!
-
Alias functionality that shows the actual command and not just the alias
The abbreviations from Fish will expand the moment you hit space or execute the command. It's basically like an alias, but will expand. However this is not possible in Bash. Zsh itself does not support this, but there is an addon I am using for: https://github.com/olets/zsh-abbr
-
Snippet/expansion and own aliases
But you aren't limited to something OMZ specific. zsh-abbr is a manager for "abbreviations" (similar to auto-expanding aliases but with additional tools, and saving everything to a file which can be backed up). And there are zsh snippet managers… I haven't used any so can't speak to them; pet might be the most popular.
-
zsh-abbr 4.8.0: now XDG_CONFIG_HOME-friendly
Something broke? Open an issue
-
Can you add features such as Syntax highlighting and Auto-suggestions to Bash?
Enhanced completion: Extend completion by syntax-aware completion, completion with quotes and parameter expansions in prefix texts, ambiguous candidate generation, etc. Also, menu-complete supports selection of candidates in menu (candidate list) by cursor keys, TAB and S-TAB. The feature auto-complete supports the automatic suggestion of completed texts as in fish and zsh-autosuggestions (with Bash 4.0+). The feature menu-filter integrates automatic filtering of candidates into menu completion (with Bash 4.0+). There are other functionalities such as dabbrev and sabbrev like zsh abbreviations or zsh-abbr.
-
trash-cli: rm alternative that lets you restore deleted files
I know. I have an addon for ZSH which mimics the Fish like abbreviations: https://github.com/olets/zsh-abbr
-
Sharing some bash aliases
I am on ZSH and prefer abbreviations (with an addon to mimic Fish abbr), because the command will expand on typing and I change it before execution. Also it is then correctly logged as expanded version in the history. However, I also have a few aliases too:
What are some alternatives?
bumblebee-Old-and-abbandoned - OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide"
fish-pet
rich-cli - Rich-cli is a command line toolbox for fancy output in the terminal
fzf-tab - Replace zsh's default completion selection menu with fzf!
Cargo - The Rust package manager
zsh-vi-mode - 💻 A better and friendly vi(vim) mode plugin for ZSH.
broot - A new way to see and navigate directory trees : https://dystroy.org/broot
oh-my-zsh - 🙃 A delightful community-driven (with 1700+ contributors) framework for managing your zsh configuration. Includes nearly 300 optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community. [Moved to: https://github.com/ohmyzsh/ohmyzsh]
zplug - :hibiscus: A next-generation plugin manager for zsh
fast-syntax-highlighting - (Short name F-Sy-H). Syntax-highlighting for Zshell – fine granularity, number of features and multiple shipped themes.
zinit - Flexible and fast Zsh plugin manager with clean fpath, reports, completion management, Turbo, annexes, services, packages.
oh-my-fish - The Fish Shell Framework