forked from w0rp/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc
More file actions
34 lines (24 loc) · 801 Bytes
/
bashrc
File metadata and controls
34 lines (24 loc) · 801 Bytes
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
#!/bin/bash
# A common 'main' script file to include across multiple machines.
. ~/script/aliases
. ~/script/functions
. ~/script/completion/rules
PS1='\W$ '
export PATH="$PATH:$HOME/bin"
# Scripts which should work on any Unix flavour.
export PATH="$PATH:$HOME/script/unix"
# Don't load the Linux-only scripts on Mac OSX
if ! [[ "$OSTYPE" =~ ^darwin ]]; then
export PATH="$PATH:$HOME/script/linux"
fi
# Add the .vim dir to PYTHONPATH for rope.
export PYTHONPATH="$HOME/.vim:$PYTHONPATH"
# Make git accept commit messages generated for merges, so there's less
# typing involved.
export GIT_MERGE_AUTOEDIT=no
# Stop Ctrl+D from closing the terminal.
set -o ignoreeof
# Make history ten times as large as it is by default.
export HISTSIZE=10000
export HISTFILESIZE=20000
shopt -s globstar