Results 1 to 5 of 5

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

  1. #1

    Cool 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.

    Below is part of my autoinst.xml file.

    Code:
      <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>
    

  2. #2
    Join Date
    Sep 2012
    Posts
    8,040

    Default Re: Which package offer "alias" or "colored bash"?

    Quote Originally Posted by suseoes View Post
    like "alias ll='ls -l'".
    ls aliases for bash are defined in /etc/profile.d/ls.bash which is part of aaa_base-extras.

  3. #3
    Join Date
    Apr 2011
    Location
    Texas USA
    Posts
    519

    Default Re: Which package offer "alias" or "colored bash"?

    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

  4. #4

    Default Re: Which package offer "alias" or "colored bash"?

    Quote Originally Posted by arvidjaar View Post
    ls aliases for bash are defined in /etc/profile.d/ls.bash which is part of aaa_base-extras.
    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


    Code:
    ~> 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).

  5. #5

    Default Re: Which package offer "alias" or "colored bash"?

    Quote Originally Posted by tckosvic View Post
    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.

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •