shrc
prompt.gem
Our great sponsors
shrc | prompt.gem | |
---|---|---|
7 | 2 | |
10 | 4 | |
- | - | |
2.4 | 1.8 | |
9 months ago | about 2 years ago | |
Shell | Shell | |
- | GNU General Public License v3.0 only |
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.
shrc
-
ls is bloat
do I need to say it: 4x time faster. just minus some the cool parts and fallbacks are not that hard, like local keyword https://github.com/denisde4ev/shrc/blob/master/_fallback/local. and the consequences of not having local all around my repos unset-unseted-i and unset-seted-i that throws error if nested functions use i variable at the same time.
-
pavement | lolcat
I already have lolwall in my bashrc, but I forgot the bricks
-
yank: copy terminal output to clipboard
my aliases are alias cin='xclip -sel clip -r' cout='xclip -sel clip -o' for clipboard input/output (hi C++ programmers). And if its Wayland then it uses wl-copy or if have termux-clipboard commands. my entire file for detecting it is: https://github.com/denisde4ev/shrc/blob/master/clip-io
-
what is your favorite cd tool (z, z.lua, autojump, zoxide ....) ?
I wrote my own sh function aliased to cd.. and CD https://github.com/denisde4ev/shrc/blob/master/_loadable/_cd__.sh
-
why even use aliases instead of just functions?
you can see my __load_loadable function here https://github.com/denisde4ev/shrc/blob/master/_loadable/LOADABLE (sorry if my code is not simple)
- Beautiful Scripts
-
What do you use Linux on? What do you not?
My PC: Lenovo AIO; 21" touchscreen monitor; Arch+KDE. I'm happy witch my bashrc/shrc organization
prompt.gem
-
Beautiful Scripts
And like many I've spent waaay too long messing around with my shell environment, which has wound up as ProfileGem, a modular shell environment manager, along with prompt.gem, my custom terminal prompt. Some features that stand out:
-
Been meaning to share this bash memoization library for a while; it uses a decorator pattern to transparently add a caching layer to functions
I've been using this library for years to make my terminal prompt more zippy. It takes advantage of a number of unusual techniques that folks might find interesting.
What are some alternatives?
bash-cache - Transparent caching layer for bash functions; particularly useful for functions invoked as part of your prompt.
pure - Pretty, minimal and fast ZSH prompt
bashmarks - Directory bookmarks for the shell
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
arg - usage: arg [...args]; output: (count of args):(len of args) (...quoted arguments)
simpl - Simple, pretty, minimal, customizable and fast ZSH prompt
tinysh - Tiny UNIX shell, de-obfuscated, modernized, and "rewritten in Rust".
zfm - Zsh Fuzzy Marks
docopt.sh - Command-line argument parser for bash 3.2, 4+, and 5+.
clipboard-over-ssh - copy clipboard command from the remote clipboard (meant to be used with micro editor)
rpg-cli - Your filesystem as a dungeon!