Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robamu/system-configurator
Python script to set up aliases in a new Unix environment or for MinGW and git on Windows
https://github.com/robamu/system-configurator
cli command-line development-environment mingw unix-environment
Last synced: 2 months ago
JSON representation
Python script to set up aliases in a new Unix environment or for MinGW and git on Windows
- Host: GitHub
- URL: https://github.com/robamu/system-configurator
- Owner: robamu
- Created: 2021-04-01T22:11:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T15:05:29.000Z (2 months ago)
- Last Synced: 2024-10-28T17:35:56.829Z (2 months ago)
- Topics: cli, command-line, development-environment, mingw, unix-environment
- Language: Python
- Homepage:
- Size: 107 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# System Configurator Utility
This is a personal README which includes steps and utilities to set up a convenient development
environment on Windows and Linux. It includes a Python script to set up the command line and
development environment in a new Unix environment or for MinGW and git on Windows.# Windows
1. Install [Sublime Text](https://www.sublimetext.com/)
2. Install [MSYS2](https://www.msys2.org/)
3. Install [Windows Terminal](https://www.microsoft.com/de-de/p/windows-terminal/9n0dx20hk701?rtc=1&activetab=pivot:overviewtab)
4. Install [git for Windows](https://git-scm.com/download/win)
5. Install [VS Code](https://code.visualstudio.com/)
6. Install [Ninja](https://ninja-build.org/)
7. Install [WSL2](https://docs.microsoft.com/en-us/windows/wsl/install-win10)## PowerShell
1. Allow executing PowerShell scripts
```ps
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
```2. You can create a `Microsoft.Powershell_profile.ps1` file in the `MicrosoftPowerShell`
folder which will be loaded when opening PowerShell. An example file is provided in the
`Windows/PowerShell` folder3. It is recommended to install [posh-git](https://github.com/dahlbyk/posh-git) for better
git integration# Ubuntu
It is recommended to use the provided ansible notebook.
[Install `ansible` first](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#).Two playbooks are provided: `playbook-full` and `playbook-min`.
Run minimal playbook:
```sh
cd unix/ansible
ansible-playbook -i inventory.ini playbook-min.yml -K
```# Generating and signing commits with GPG
Follow [this guide](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work).
After generating a key, the secret key can be exported with the following command
```sh
gpg --output private.pgp --armor --export-secret-key
```And then import this file with `gpa` or Kleopatra.
You can export the public key with the following command
```sh
gpg --output public.pgp --armor --export
```This key can be uploaded to Github, Gitlab to allow verification of commits
# Dual-Boot Configuration
You can disable the grub timeout by opening the `/etc/default/grub` file and setting
`GRUB_TIMEOUT` to `-1`.In dual-boot configuration, Linux might mess with Windows times or vice-versa. You can fix this
by running following command```sh
timedatectl set-local-rtc 1 --adjust-system-clock
```# Neovim Configuration
[Neovim configuration Repo](https://github.com/robamu/nvim-cfg)