summaryrefslogtreecommitdiff
path: root/guides/setups/dotfiles.md
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-07-11 18:10:53 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2019-07-11 18:10:53 +0200
commit8cfe656fbb312398244d6f0e820d4f179db3cfc7 (patch)
tree31102175eb71b82eece64ba62cf494e1014b0fc9 /guides/setups/dotfiles.md
parent66d44f9dbb1f6a6e8af5d51677ee39c496c46caa (diff)
downloadmemory-leaks-8cfe656fbb312398244d6f0e820d4f179db3cfc7.tar.xz
Move some things around
Diffstat (limited to 'guides/setups/dotfiles.md')
-rw-r--r--guides/setups/dotfiles.md22
1 files changed, 22 insertions, 0 deletions
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
+```