summaryrefslogtreecommitdiff
path: root/.zsh/zshrc/40_history
blob: 7017189ddb9a14c05a3c4b9b1dac156d4ee46bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# zshrc/40_history
#
# Set up command line history
#
# Copyright © 2011 Tobias Klauser <tklauser@distanz.ch>
# Released under the terms of the Artistic Licence 2.0
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git

HISTFILE=$HOME/.zsh_history
HISTSIZE=5000
SAVEHIST=$HISTSIZE

# append history list to the history file (think multiple zsh sessions)
setopt append_history

# ignore duplicates
setopt hist_ignore_dups

# don't store commands starting with a space in the history file
setopt hist_ignore_space

# remove superfluous blanks from each command line
setopt hist_reduce_blanks

# vim:ft=zsh
b58dad4d951aa2f7f1b'>c2e4c99444f418b3c3b13b58dad4d951aa2f7f1b (diff)
drm: atmel-hlcdc: fix a NULL check
If kmalloc() returned NULL we would end up dereferencing "state" a couple lines later. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat