From 8cfe656fbb312398244d6f0e820d4f179db3cfc7 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 11 Jul 2019 18:10:53 +0200 Subject: Move some things around --- guides/setups/dotfiles.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 guides/setups/dotfiles.md (limited to 'guides/setups/dotfiles.md') diff --git a/guides/setups/dotfiles.md b/guides/setups/dotfiles.md new file mode 100644 index 0000000..c51f4cb --- /dev/null +++ b/guides/setups/dotfiles.md @@ -0,0 +1,22 @@ +Some day all of these will live in my dotfiles repository. + +Until then… + +# `~/.bash_aliases` + +``` bash +# Make Bash expand aliases before running sudo. +alias sudo='sudo ' +``` + +# `.gitconfig` + +``` ini +[user] + name = … + email = … +[alias] + root = rev-parse --show-toplevel + forget = update-index --assume-unchanged + remember = update-index --no-assume-unchanged +``` -- cgit v1.2.3