alias-tips
zx
Our great sponsors
alias-tips | zx | |
---|---|---|
6 | 113 | |
753 | 40,589 | |
- | 2.3% | |
0.0 | 7.6 | |
10 months ago | 10 days ago | |
Python | JavaScript | |
- | Apache License 2.0 |
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.
alias-tips
-
Configuring Your Shell Environment
# Set ZSH_CUSTOM if it's not already (used by our PLUGINS_PATH below) if [ -z $ZSH_CUSTOM ]; then ZSH_CUSTOM="$HOME/.oh-my-zsh/custom" fi # Install additional plugins to this path PLUGINS_PATH="${ZSH_CUSTOM}/plugins" # Define function for installing plugins for use below function install-plugin() { plugin_repo=$1 plugin_name=$2 echo "Downloading Plugin: $plugin_name" echo "Using: $plugin_repo" echo "To: $PLUGINS_PATH/$plugin_name" echo "git clone $plugin_repo $PLUGINS_PATH/$plugin_name" git clone $plugin_repo $PLUGINS_PATH/$plugin_name plugin_list="${plugin_list}$plugin_name " } echo "Installing Plugins..." install-plugin https://github.com/djui/alias-tips alias-tips install-plugin https://github.com/wting/autojump autojump install-plugin https://github.com/TamCore/autoupdate-oh-my-zsh-plugins autoupdate install-plugin https://github.com/zsh-users/zsh-autosuggestions autosuggestions echo "Plugins Installed. Add them by copying th following into your ~/.zshrc plugins=( $plugin_list ) " # For auto jump we must install it using it's own script cd "$PLUGINS_PATH/autojump" ./install.py
-
Why Does The Business Care? with Michael Heap
The best plugin that I've seen recently is alias-tips, which if you run the command and you've got an alias configured for that, it pops up and says, "Hey, don't forget you can type this." So if I'm using Kubernetes and I write Kubectl, apply -f and then the manifest path, it'll say, "Hey, don't forget you can just run K-A-F, and then the path." So that's probably the best plugin that I've seen recently.
-
Zsh Plugins Commit TOP
alias-tips ๐ฅ - An oh-my-zsh plugin to help remembering those aliases you defined once.
-
๐งข Stefan's Web Weekly #19
๐ Install alias-tips
zx
- Google ZX โ A tool for writing better scripts
-
The Bun Shell
Great point! According to https://github.com/oven-sh/bun/blob/b433beb016470b87850f3c01..., Bun Shell took inspiration from zx[0], dax[1] and bnx[2]
[0]: https://github.com/google/zx
-
My script to install husky, commitlint and lint-staged with zx
If you want test it, you can run this script withzx :
-
YavaScript: Write shell scripts in JavaScript/TS instead of bash
I really love writing with zx. https://github.com/google/zx
We have some folks who have gone wild copy-pasting random fancy bash snippets into various developer helpers scripts. Zx did like 90% of that stuff out of the box, without being a pile of chaotic custom bash.
-
Scripting with Go: A Modest Proposal
I ended up using this for my cli scripting needs. https://github.com/google/zx
- Bash e limbajul DIAVOLULUI
-
Is Node.js a good way to implement a CLI app with persistence?
It looks like you want just a script. Check if https://github.com/google/zx is sufficient for your needs.
-
The Case for Bash (2021)
Also javascript as an alternative for bash..
Not an official Google product of course but ...
>Bash is great, but when it comes to writing more complex scripts, many people prefer a more convenient programming language. JavaScript is a perfect choice, but the Node.js standard library requires additional hassle before using. The zx package provides useful wrappers around child_process, escapes arguments and gives sensible defaults.
-
Lua as a Bash alternative
Iโm partial to zx and powershell for scripting. It seems like lua is along the lines of ZX so definitely usable
-
Have you made a bash script that improved your life in some way? My examples
Also I would notice that I often use bash scripts but in many cases prefer zx - very handy tool where bash and nodejs complement each other perfectly.
What are some alternatives?
shelljs - :shell: Portable Unix shell commands for Node.js
execa - Process execution for humans
Commander.js - node.js command-line interfaces made easy
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.
deno - A modern runtime for JavaScript and TypeScript.
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
Commander - Compose beautiful command line interfaces in Swift
nx - Smart Monorepos ยท Fast CI
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
chalk - ๐ Terminal string styling done right
Ink - ๐ React for interactive command-line apps