Which package offer "alias" or "colored bash"?

Hello everyone,

I just installed a minimal OpenSUSE 15.3 via Autoyast without recommended packages. I found in bash shell, the command outputs are not colored. And there are not some alias, like “alias ll=‘ls -l’”.

May I ask which package in OpenSUSE offers these features to enhance the bash shell? Thank you. :slight_smile:

Below is part of my autoinst.xml file.


  <software t="map">
    <products t="list">
      <product>Leap</product>
    </products>
    <install_recommended t="boolean">false</install_recommended>
    <patterns t="list">
      <pattern>base</pattern>
      <pattern>minimal_base</pattern>
      <pattern>enhanced_base</pattern>
      <pattern>apparmor</pattern>
      <pattern>yast2_basis</pattern>
      <pattern>sw_management</pattern>
    </patterns>
    <packages t="list">
      <package>firewalld</package>
      <package>openssh</package>
      <package>sudo</package>
      <package>command-not-found</package>
      <package>bash-completion</package>
    </packages>
    <do_online_update t="boolean">true</do_online_update>
  </software>


ls aliases for bash are defined in /etc/profile.d/ls.bash which is part of aaa_base-extras.

Color schemes for terminal windows are selected and configured under preferences or settings options depending upon which terminal emulator you are using. The desktop you have installed was not indicated. Each desktop has its own terminal app.

There are many bash terminal enhancers available to change color schemes or add enhanced informtion, e.g., htop. You have to look them up on internet search but many are available in yast software. You can also program your own color schemes for prompts, etc in ~/.bashrc for a user.

tom kosvic

Yes! it is package “aaa_base-extras”.
Now the alias like “ll” comes back, and outputting with colors. Like folder is in blue, executable file is in green.

Thank you rotfl!


~> zypper info aaa_base-extras
Loading repository data...
Reading installed packages...

Information for package aaa_base-extras:
----------------------------------------
Repository     : Update repository with updates from SUSE Linux Enterprise 15
Name           : aaa_base-extras
Version        : 84.87+git20180409.04c9dae-3.57.1
Arch           : x86_64
Vendor         : SUSE LLC <https://www.suse.com/>
Installed Size : 37.1 KiB
Installed      : Yes
Status         : up-to-date
Source package : aaa_base-84.87+git20180409.04c9dae-3.57.1.src
Upstream URL   : https://github.com/openSUSE/aaa_base
Summary        : SUSE Linux Base Package (recommended part)
Description    :
    The parts of aaa_base that should be installed by default but are not
    strictly required to run a system. (Shell aliases, bash completions
    and convenience hacks).

I don’t think he’s using a desktop or terminal emulators, but that he’s actually using the terminal interface itself. He said he’s using a minimal install, which I would understand to be a plain, lightweight installation, without any graphical guff, such as a Desktop.