/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/atyrode/dotfiles/main/install.sh)"
git clone git@github.com:atyrode/dotfiles.git && cd dotfiles && ./setup.sh && cd .. && rm -rf dotfiles
cd ~/Documentsgit clone git@github.com:atyrode/dotfiles.git dotfilesgit checkout macoscd dotfilesln -s ~/Documents/dotfiles/zsh/.zshrc ~/.zshrcsource ~/.zshrc
prompt_yes_no()prints first argument followed by (y/n), then reads user input and returns 0 on Y/y or 1 on N/n
ok(),ko(),folder(),file()prints $1 in green, red, cyan or yellow respectively
zconfshortcutssource ~/.zshrcz(zoxide) replacescdfzfwill be used on Ctrl+R (search)
-
python&pipshortcutspython3&pip3 -
venvis a python venv manager which toggles the venv on or off in the current working directy. It will create a venv if it doesn't exist (called 'venv') and will offer to add it to .gitignore. -
Helper functions for
venv:venv_exists(),create_venv(),gitignore_exists(),create_gitignore(),venv_in_gitignore(),add_venv_to_gitignore(),activate_venv(),deactivate_venv(),venv_is_active() -
pipreqis a command that pip install requirements in the current venv, if it exists and is activated, or will otherwise prompt you to
git clone https://github.com/gpakosz/.tmux.git ln -s -f "$(pwd)/.tmux/.tmux.conf" ~/.tmux.conf cp .tmux/.tmux.conf.local ~ tmux source ~/.tmux.conf