Skip to content

Instantly share code, notes, and snippets.

View papilip's full-sized avatar

Philippe Nénert papilip

  • Laguiole, Aveyron, France
View GitHub Profile
@simonc
simonc / gist:7578108
Last active December 28, 2015 23:19
Shell tips

Here are some shell/term tips I use on a day to day basis.

Escape-dot

When typing a command, using esc-. inserts the last argument of the previous command.

$ ls aaa.txt bbb.txt ccc.txt
...
$ ls <esc-.>

$ ls ccc.txt

@codeinthehole
codeinthehole / osx_bootstrap.sh
Last active May 19, 2024 20:47
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)