/.../
: Start and end regex delimiters|
: Alternation()
: Grouping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH |
1. Install homebrew
# Install zsh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.bash)"
# Check it's installed properly
brew doctor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias mkvenv="virtualenv venv" | |
alias entervenv='source venv/bin/activate && where python3' | |
alias py="pip3 install -r requirements.txt" | |
alias pyfreeze="pip3 freeze > requirements.txt" | |
alias pyinit="mkvenv && venv >> .gitignore" | |
alias deletecrap="find . -name '.DS_Store' -type f -delete" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List files in a folder | |
# ------------------------------------------------------------------------------- | |
list_files_and_export() { | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: list_files_and_export <directory>" | |
return 1 | |
fi | |
local dir="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AltTab | |
AppCleaner | |
Cleaner-App | |
Dozer | |
Kap | |
MacUpdater | |
Microsoft Edge | |
Microsoft Excel | |
Microsoft Outlook | |
Microsoft PowerPoint |