Giter Site home page Giter Site logo

fancyprompt's Introduction

INTRODUCTION

FancyPrompt will help you customizing your prompt (local shell and ssh) with some great ascii arts and useful info. It works with templates, so, feel free to adjust the templates to your needs.

PREVIEW

preview

PREQUISITE

Install figlet

sudo apt install figlet

or

sudo yum install figlet

USAGE

./fancyprompt.bash

INSTALLATION

The generated files must be inserted in /etc. Please note /etc/issue uses special command to dynamically add informations. The preview will show you the specific command but will not replace them as seen after a SSH. See below for syntax help.

Information on network interface should be adapted to your needs.

SYNTAX FOR /etc/issue

switch Description
\b Insert the baudrate of the current line.
\d Insert the current date.
\s Insert the system name, the name of the operating system.
\l Insert the name of the current tty line.
\m Insert the architecture identifier of the machine, e.g., i686.
\n Insert the nodename of the machine, also known as the hostname.
\o Insert the domainname of the machine.
\r Insert the release number of the kernel, e.g., 2.6.11.12.
\t Insert the current time.
\u Insert the number of current users logged in.
\U Insert the string "1 user" or " users" where is the number of current users logged in.
\v Insert the version of the OS, e.g., the build-date etc.

LICENCE

MIT.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.