Skip to content

Instantly share code, notes, and snippets.

View arsenlosenko's full-sized avatar

Arsen Losenko arsenlosenko

  • Ukraine
View GitHub Profile

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@mengstr
mengstr / tm.sh
Created August 23, 2011 04:44
Open some tmux windows/panes and start apps in them
#!/bin/bash
SESSION=$USER
# if the session is already running, just attach to it.
tmux has-session -t $SESSION
if [ $? -eq 0 ]; then
tmux attach -t $SESSION
exit 0;
fi
@pksunkara
pksunkara / config
Last active April 17, 2025 05:11
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = [email protected]
username = pksunkara
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta