Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (20 sloc) 0.897 kB
37b89e6 @mathiasbynens .bash_profile: Be sure to source `.bash_prompt` first, in case it set…
mathiasbynens authored
1 # Load ~/.extra, ~/.bash_prompt, ~/.exports, ~/.aliases and ~/.functions
7d02270 @mathiasbynens Initial commit.
mathiasbynens authored
2 # ~/.extra can be used for settings you don’t want to commit
37b89e6 @mathiasbynens .bash_profile: Be sure to source `.bash_prompt` first, in case it set…
mathiasbynens authored
3 for file in ~/.{extra,bash_prompt,exports,aliases,functions}; do
6b75bfc @mathiasbynens Use tabs instead of double-space indents
mathiasbynens authored
4 [ -r "$file" ] && source "$file"
7d02270 @mathiasbynens Initial commit.
mathiasbynens authored
5 done
74b3792 @mathiasbynens Sexier file sourcing.
mathiasbynens authored
6 unset file
7d02270 @mathiasbynens Initial commit.
mathiasbynens authored
7
efa3edd @paulirish init z
paulirish authored
8 # init z https://github.com/rupa/z
9 . ~/code/z/z.sh
10
16fe2a7 @paulirish start up rvm
paulirish authored
11 # init rvm
12 source ~/.rvm/scripts/rvm
13
efa3edd @paulirish init z
paulirish authored
14
7d02270 @mathiasbynens Initial commit.
mathiasbynens authored
15 # Case-insensitive globbing (used in pathname expansion)
050165b added stuff for ssh tab completion
John Hirbour authored
16 shopt -s nocaseglob
17
5d7bc00 @mathiasbynens Prefer US English and use UTF-8.
mathiasbynens authored
18 # Prefer US English and use UTF-8
ba8d751 @mathiasbynens Use double quotes more consistently.
mathiasbynens authored
19 export LC_ALL="en_US.UTF-8"
20 export LANG="en_US"
5d7bc00 @mathiasbynens Prefer US English and use UTF-8.
mathiasbynens authored
21
730c7f7 @mathiasbynens Better tab completion for SSH hostnames based on ~/.ssh/config.
mathiasbynens authored
22 # Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards
c7a82c2 @mathiasbynens Check if ~/.ssh/config exists before grepping it.
mathiasbynens authored
23 [ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh
2db7a49 @mathiasbynens Add tab completion for `defaults read|write NSGlobalDomain`. Useful w…
mathiasbynens authored
24
25 # Add tab completion for `defaults read|write NSGlobalDomain`
74b3792 @mathiasbynens Sexier file sourcing.
mathiasbynens authored
26 # You could just use `-g` instead, but I like being explicit
a0d5fb5 @paulirish add gz() function for gzipped size
paulirish authored
27 complete -W "NSGlobalDomain" defaults
Something went wrong with that request. Please try again.