summaryrefslogtreecommitdiff
path: root/00_Sanity.zsh
blob: 9d19963e874be4216df4fa7f72d29716ec57ff4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
##
## Part of configuration files for Zsh 4
## by Hugues Hiegel <hugues@hiegel.fr>
## 
## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS
##
## You are encouraged to use, modify, and redistribute
## these files with or without this notice.
## 

# No more core dumps :)
ulimit -c 0

# No dangerous world-writeable files & folders
umask 0022

#  sanity
[[ -t 0 ]] && /bin/stty erase  "^H" intr  "^C" susp "^Z" dsusp "^Y" stop "^S" start "^Q" kill "^U"  >& /dev/null

# unalias shitty alias
alias which >/dev/null && unalias which