7a344b82dd9479b21362d311973545acfc850229
Add is_interactive_shell() helper and gate all user-visible echo/debug output behind it so that non-interactive invocations (scripts, cron, ssh commands) stay silent. Move functions.sh source earlier in bashrc so helpers are available sooner.
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%