summaryrefslogtreecommitdiff
path: root/guides/setups/dotfiles.md
blob: 5cb0637c87928fb635109c8627f249fcb507a929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 = …    # Not needed if GECOS field is set in /etc/passwd.
    email = …   # Not needed if $EMAIL is set.
[alias]
    root = rev-parse --show-toplevel
    forget = update-index --assume-unchanged
    remember = update-index --no-assume-unchanged
    wut = log --branches --decorate --graph --oneline
```