/environmentresources

Custom Bash aliases, prompts and backup scripts.

Primary LanguageShellMIT LicenseMIT

Environment Resources

Created by @SyntaxSeed (Sherri W)

Contains

  • Nice Bash command prompts.
  • Handy Bash aliases.
  • BashCustom/ directory is to be copied to home dir and linked into .bashrc.
  • Bash Scripts to backup:
    • Global Composer json and lock files.
    • VSCode extensions list, snippets and settings/keymap files.
    • PHP.ini files.
    • Npm global config.
    • Global Git config file.
    • Linux System settings.

Nice Bash Prompts:

Bash prompt with Git info

See BashPrompts/README.md for details.

Automatic Backup

There is a script (BackupScripts/backupenv.sh) to automatically back these (listed above) up to a target directory/repo (Linux). You may need to tweak this for your environment. Run it like so: $ sh backupenv.sh

The Bash aliases file includes a global alias for this backup script: 'backupenv'.

VS Code backup script.

Licence

This information is made freely available under the MIT licence. See LICENSE file. Various settings and configuration files may have licenses under their respective softwares.