Skip to content

Instantly share code, notes, and snippets.

@vsc1t
vsc1t / .bashrc
Last active November 15, 2019 20:02 — forked from zachbrowne/The Ultimate Bad Ass .bashrc File
bashrc file
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@vsc1t
vsc1t / tmux-cheatsheet.markdown
Created August 17, 2018 07:01 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@vsc1t
vsc1t / tmux-cheats.md
Created August 17, 2018 07:01 — forked from Starefossen/tmux-cheats.md
My personal tmux cheat sheet for working with sessions, windows, and panes. `NB` I have remapped the command prefix to `ctrl` + `a`.

Sessions

New Session

  • tmux new [-s name] [cmd] (:new) - new session

Switch Session

  • tmux ls (:ls) - list sessions
  • tmux switch [-t name] (:switch) - switches to an existing session