Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am hr1sh1kesh on github.
  • I am hrishike (https://keybase.io/hrishike) on keybase.
  • I have a public key ASCUfcRK4lTDOhkx-OgYJ6J-0nLCd873CvUtYmoZwDy8tAo

To claim this, I am signing this object:

@hr1sh1kesh
hr1sh1kesh / ask.sh
Last active March 29, 2018 07:28
Bash General-Purpose Yes/No Prompt Function ("ask")
# This is a general-purpose function to ask Yes/No questions in Bash, either
# with or without a default answer. It keeps repeating the question until it
# gets a valid answer.
ask() {
# https://djm.me/ask
local prompt default reply
while true; do
@hr1sh1kesh
hr1sh1kesh / tmux-cheatsheet.markdown
Created March 7, 2018 09:10 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname