A collection of scripts, dotfiles, and playbooks I use to bootstrap development environments across Linux, macOS, and Windows (well, Windows not really, only if I'm forced to)
ansible_playbooks/– playbooks for setting up shells, vim/nvim, tmux, node, and copying scripts from other folders in this repocreate_hotspot_on_linux/– configuration and notes for running a Linux Wi‑Fi hotspot.linux-setup/– personal setup notes for Linux desktops.mac_setup/– macOS-specific tweaks and utility scripts.random_scripts/– assorted helper scripts (video conversion, display tweaks, etc.).shell_setup/– shell configuration files (bash/zsh aliases, profiles).tmux/– tmux configuration and helper scripts for session/project selection.vim/– vim/neovim configuration files and installation helpers.windows/– PowerShell one-liners and notes.zen-setup/– configuration exports and notes for the Zen browser.
- Install Ansible on your target machine.
- Linux:
sudo apt install ansible - Mac:
brew install ansible - Windows: Please don't, thx
- Linux:
- Clone this repository to the machine
git clone https://github.com/LasseWolter/useful_scripts.git
- Run the top-level playbook to install shell tooling, editors, tmux, node, etc (you'll be prompted for your password because some operations require
sudo):ansible-playbook setup_dev_machine.yml --ask-become-pass
CONTINUE if on Mac
- Install alacritty .dmg file from https://alacritty.org/ and use workaround to open described here)
Alternative workaround to make cargo app function as a native app on Mac
- Manually create an application for Alacritty
- Open Script Editor (found in Applications > Utilities).
- Paste the following code:
do shell script "/Users/<USERNAME>/.cargo/bin/alacritty > /dev/null 2>&1 &" - Go to File > Export.
- Set File Format to Application.
- Save it to your Applications folder.
- Right-click your new shortcut and select
Get Info. - Open
/Users/<USERNAME>/.local/share/alacrittyin Finder. - Drag and drop the icon file directly onto the small icon in the top-left corner of the "Get Info" window.
- If using Raycast, to focus Alacritty with a hotkey, create another Application using Script Editor (using the above application keeps launching a new instance instead of focusing the open instance):
tell application "System Events" set frontmost of process "alacritty" to true end tell
- Scripts in
random_scripts/are standalone helpers. Inspect each script to confirm dependencies (e.g.,ffmpegfor video tools) before running. - Copy or symlink configuration files (e.g.,
tmux/tmux.conf,vim/vimrc) into your home directory to apply them. - tmux helper scripts such as
tmux/select-projectexpectfzfand default project directories; tweak the paths to match your environment.
- install ideaVim - the .ideavimrc will do a lot for you
- to toggle terminal with j you need to disable
Override IDE ShortcutsinTools>Terminal-Settings"