sbani.liquidprompt

Ansible Role: Liquidprompt

Build Status Galaxy

This Ansible role installs and sets up liquidprompt (lp).

How to Use

Default Setup

By default, this role activates liquidprompt only for the vagrant user without any additional setup.

Activate lp for All Users

To apply liquidprompt for all users, you need to update /etc/bash.bashrc. The setting liquidprompt_apply_to_users will be ignored if liquidprompt_apply_all_users is set to true.

# Enable liquidprompt for all users
liquidprompt_apply_all_users: true

# (This section is ignored if above is true)
#liquidprompt_apply_to_users:
#  - vagrant

Activate lp for Specific Users

If you want to activate liquidprompt for specific users, set liquidprompt_apply_all_users to false and list the users.

# Enable liquidprompt for all users
liquidprompt_apply_all_users: false

# Activate for these specific users
liquidprompt_apply_to_users:
  - vagrant
  - web
  - user1

Add Your Own Liquidprompt Config

Liquidprompt has many options you can customize. Refer to their repository for more details. Here’s an example:

# Custom settings for liquidprompt
liquidprompt_enable_custom_variables: true
liquidprompt_custom_variables:
  - LP_PS1_POSTFIX="\n $ " # Add a new line before the input
  - LP_PS1_PREFIX="\[\e]0;\u@\h: \w\a\]" # Custom title for the window

License

MIT

Acknowledgments

Thanks to all contributors and maintainers of liquidprompt.

Contributions and Discussions

We welcome contributors and patches! Feel free to discuss defaults or suggest features you would like.

Author Information

Sufijen Bani (http://www.sbani.net)

Informazioni sul progetto

Install and enable liquidprompt.

Installa
ansible-galaxy install sbani.liquidprompt
Licenza
mit
Download
255
Proprietario
Security Engineer & Penetration Tester