forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocalrc
More file actions
47 lines (37 loc) · 1.33 KB
/
Copy pathlocalrc
File metadata and controls
47 lines (37 loc) · 1.33 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# these are overrides
# export TERM=putty-256color # putty-256color disables CTRL-C in emacs ?
export TERM=xterm-256color
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
export PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/opt/bin" ]; then
export PATH="$HOME/opt/bin:$PATH"
fi
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
export PATH=$PATH:~/bin
export PATH=$PATH:~/opt/bin
export PATH=$PATH:/opt/mono/bin
export GIT_SSL_NO_VERIFY=true
umask 0022 #ensure everybody in the group can read my files
export INPUTRC=~/.inputrc
# Add completion to source and .
complete -F _command source
complete -F _command .
# only use stty if we are on interactive shell, otherwise we get weird errors in SSH logins
# rt_Commands
if [ -t 0 ]; then
# dont react to ^s and ^q
stty stop undef
stty start undef
fi
alias ducks='du -cksh * | sort -rn|head -11' # Lists folders and files sizes in the current folder