Skip to content

Chief is BASH library system with extra features such as prompt and RSA keys management.

License

Notifications You must be signed in to change notification settings

randyoyarzabal/chief

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Chief is BASH library system with extra features such as prompt and RSA keys management. It allows you to quickly create, manage, and share environment variables, aliases and functions to be used personally or a in team environment.

Git repository: https://github.com/randyoyarzabal/chief

Features

  • Management of BASH variables, aliases and functions
  • Automated reload of edited files
  • RSA Key Management
  • Prompt Management
    • Git prompt
    • Colored prompt
    • Working directory

Getting Started

  1. Make a copy a config template from the 'templates' directory. Note that it need to be placed outside the root of Chief.

    cp templates/chief_config_template.sh ~/.chief_config.sh

    Change the configuration to suit. Be sure that the file/dir defined in 'CHIEF_USER_PLUGIN_DEFAULT' exists (i.e. $> touch $CHIEF_USER_PLUGIN_DEFAULT)

  2. Define the following variables and source call in your start-up script (.bash_profile for example).

    For example:

    # Chief Environment
    CHIEF_CONFIG="$HOME/.chief_config.sh"                                                                                                          
    CHIEF_PATH="$HOME/dev/repos/github/chief"
    source ${CHIEF_PATH}/chief.sh
  3. That's it. You're ready to use Chief! Restart your terminal.

  4. Experiment and try the following commands:

    • chief.[tab] to see available built-in commands.
    • chief.config to edit your config.
    • chief.bash_profile to edit your bash start-up file.
    • chief.plugin [user plug-in name] to edit a user plugin.
    • chief.plugin to edit the default user plugin.

Contribute

All contributions are welcome. Please use the git-flow method when contributing.

Helpful Reference Sites:

About

Chief is BASH library system with extra features such as prompt and RSA keys management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages