e351f2e9240881eab6904e1077efa6d7dcb238ef
Move color constants and PS1 escape sequences from bash-prompt.sh into a new shared rc/03-values.sh, and extract the user@host:dir fragment as LWS_PS1_USER_HOST to eliminate duplication between bash-prompt.sh and git-prompt.sh. Wire up git-prompt to use bash-git-prompt with the shared prompt variables.
Linux Workspace
Repository of config files, scripts and other staff to enable quick and easy configuring a new computer.
Quick start
Add to $HOME/.bashrc file:
source $full_path_to_repository/bashrc
or install by script
./install.sh
After that each bash login is ready to offer full functionality.
For faster load can be set
LWS_FAST=1
For debug log enabled
LWS_DEBUG=1
Quick commands
# reload full configuration
reload-workspace
# home directory of project
echo $LWS
Description
Languages
Shell
59.4%
Python
32.9%
Vim script
4.6%
Makefile
2.2%
PowerShell
0.9%