<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Provide standard alias for all systemd commands"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83489">83489</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Provide standard alias for all systemd commands
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lzap@seznam.cz
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>Hello,
it looks like it's not just me who has problems with default commands names.
One of the most important binary is called "systemctl", but 'systemc<TAB>' is
needed for /usr/bin/systemctl to expand. On the other hand 'servi<TAB>' works
just fine and on default Fedora install it's just 'ser<TAB>'. Six (four)
keystrokes vs eight.
While aliases solve this problem, I propose to create a git-like wrapper short
enough to type with shell completion. Something like:
sd control
sd journal
sd cgls
sd cgtop
This should give us five to six keystrokes to complete the required command.
If you doubt about having this by default, I propose the same behavior as an
optional thing that would ship with systemd and with one command administrators
could turn it on.
And where is the benefit when I compare this proposal with user-defined
aliases? When you log on a system that is under control of multiple people, you
can easily turn this on and save your time. It would be likely turned on by
somebody else.
Btw for the "sd" candidate it looks like nothing is using it in Fedora and
RHEL. Not sure about other distros tho. This needs more discussion.
[lzap@lzapx ~]$ sudo yum whatprovides /usr/sbin/sd
No matches found
[lzap@lzapx ~]$ sudo yum whatprovides /usr/bin/sd
No matches found</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>