Makecommand - Tool to shortcut commands
Posted by Aliraq1@reddit | linux | View on Reddit | 30 comments
This package made for shortcut any command or file or FOLDERS and run it anywhere :
cd & cd mytool & python3 code.py
To : run mytool
or
sudo apt update && sudo apt upgrade -y
To :
sudo run upgrade
And a lot more !
To install (For Debian-based only) :
- Add the repo :
echo "deb [trusted=yes] https://q0so.github.io/makecommand/ ./" | sudo tee /etc/apt/sources.list.d/makecommand.list
2.Update packages :
sudo apt update
- Install makecommand package :
sudo apt install makecommand
PerkyPangolin@reddit
Erm, so alias?
ClassroomHaunting333@reddit
Aliases are fine until there are too many. It just clutters your zshrc/bashrc or whatever shell you use. What about complicated one-liners with variables? Do you alias them too?
Of course, you can have them in separate file and source them, but for many new comers that would be something a bit more complicated.
Do you remember all the aliases? If not how do you bring them up and search for them?
AnsibleAnswers@reddit
Functions work, and you don’t have to keep them in your rc file.
Aliraq1@reddit (OP)
Naaaah, alias can't : 1. Make tags 2. Show list 3. Make folder shortcut 4. Make file shortcut 5. Do something like : -url or -test etc.. 6. Run the code as other type (py, js etc...)
The answar is NO But my package is Yes.
Understand ?
PerkyPangolin@reddit
So functions, scripts, etc.?
Aliraq1@reddit (OP)
Nvm
Aliraq1@reddit (OP)
POST DELETED, CUZ NO ONE UNDERSTANDS THE MAIN IDEA.
LongInvestment6250@reddit
this looks pretty useful for automating those long command chains you run daily in ops work. been using aliases but this seems more flexible since you can bundle directory changes with the actual commands
might give it a try on my test box first though - adding random repos always makes me little nervous even with the trusted flag
Aliraq1@reddit (OP)
Try it and give me ur rate Btw its open source, so u can check the codes
And dont forget to run: makecommand -examples
mmmboppe@reddit
what is "codes"?
xkcd__386@reddit
I bet he's an Indian. Indians think codes is plural for code.
(PS: I'm an Indian too, but that doesn't stop me cringing when I hear "codes". I teach part time and I hear this a lot!)
Aliraq1@reddit (OP)
Bro, im Iraqi, and im B1 at english, So could u tell me if "codes" is right word or not ?
xkcd__386@reddit
why didn't you ask your LLM, since you used it for the more important part already?
mmmboppe@reddit
English fluency is not relevant at all in this context. It's about usage of script kiddie slang, which is a red flag.
Aliraq1@reddit (OP)
U left the package and focused on one word?
mmmboppe@reddit
You came online with the expectation that the world works as you imagine it? This is your reality check.
ClassroomHaunting333@reddit
You can check XC. It is a command vault manager with support for interactive variables. All commands are saved in plain .txt files. It is also a zsh-plugin in the official plugin list. You can check the repo https://github.com/Rakosn1cek/xc-manager
ClassroomHaunting333@reddit
Here is a breakdown that you might not like, but should take it as an advice for further improving your script.
The reason people keep comparing it to aliases is that the tool is basically just a static alias manager written in Python. It does not actually solve the problems that make aliases a pain for complex work.
The biggest issue here is the security. Storing everything in plain text is fine for a few harmless shortcuts, but it is a massive risk if you need to save anything sensitive like API keys or credentials. Anyone with access to your user folder can read them in a second. Tools like yours usually rely on symmetric GPG encryption to keep that data locked at rest.
The script is strictly static, it just saves a string and replays it. Better way would be using an interactive template system that scans the command and prompts for variables in real time. If an IP or a filename changes, you shouldn't have to manually edit the saved command. The tool should handle the logic for you before it ever hits the shell.
Also, forcing a [trusted=yes] repository is a massive red flag for everyone in the Linux world. Most users would prefer a native shell plugin or a distro-agnostic script (maybe not, but I do) that works without asking them to open a potential back door into their system. It is less about replacing aliases, but about providing the security and dynamic logic that a basic Python wrapper just cannot handle.
If you are interested, you can check XC https://github.com/Rakosn1cek/xc-manager it might give you some ideas.
Aliraq1@reddit (OP)
Thanks! But its made by Ai, so maybe ill improve it with ur advice.
And btw, u wanna save the shortcut with encryption ?
ClassroomHaunting333@reddit
If the shortcut is running API keys or credentials like usernames and passwords then you can't just leave it in a open text file. The text file needs to be locked as soon as you leave your machine or not using the file where all the shortcuts are stored.
AnsibleAnswers@reddit
Vibe coded trash.
Aliraq1@reddit (OP)
Its Gemini 3 Pro
And i said in main repo : "This package made by AI"
AnsibleAnswers@reddit
There’s no need for this tool. You just wasted water and energy for nothing. Shame.
Aliraq1@reddit (OP)
Well, u didnt try it and u think its like "alias".
AnsibleAnswers@reddit
I think it’s basically equivalent to writing a one-liner script and putting it in ~/.local/bin.
Aliraq1@reddit (OP)
Naaaaaaaaaaaaah, its NOT like that basic.
xkcd__386@reddit
I don't think even an LLM can come up with something this bad.
Aliraq1@reddit (OP)
IDK why every1 hates this package and compares it to Alias??
0riginal-Syn@reddit
https://github.com/q0so/makecommand
That is how you serve up the deb? Yeah, no, that is a bit fishy, especially when you want to use the [trusted=yes]
SeriousPlankton2000@reddit
You might be amazed when you discover shell scripts.
I put my shell scripts in \~/bin and write