Skip to content

Instantly share code, notes, and snippets.

View amirbawab's full-sized avatar
🐕
🐕🐕🐕🐕🐕🐕🐕🐕🐕🐕🐕

Amir Bawab amirbawab

🐕
🐕🐕🐕🐕🐕🐕🐕🐕🐕🐕🐕
View GitHub Profile

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

#!/bin/bash
# Create hook file
create_hook() {
REPO_PATH=$1
HOOK_FILE=$2
cat <<EOT >> "$REPO_PATH/.git/hooks/$HOOK_FILE"
#!/bin/bash
#############################