Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 63674ad
Showing
4 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
# I like confirming destructive operations. | ||
alias cp="cp -iv" | ||
alias mv="mv -iv" | ||
alias rm="rm -iv" | ||
|
||
# Colored output from ls is nice, but the default color choices need | ||
# work for use on a dark/partially transparent background. Directories | ||
# stay blue but get bold, and symbolic links get bold cyan instead of | ||
# magenta. | ||
export CLICOLOR=1 | ||
export LSCOLORS="ExGxcxdxbxegedabagacad" | ||
|
||
# Hooray Nano! | ||
export EDITOR=nano | ||
|
||
# Prompt is not as complicated as the format string would | ||
# suggest. This one does: | ||
# | ||
# (time) user@host:dir $ | ||
# | ||
# with user/host in green and working directory blue. | ||
# The first one sets the terminal title, the second is the prompt. | ||
export PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]" | ||
export PS1="$PS1(\[\e[0;37m\]\A\[\e[0;37m\]) \[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \$ " | ||
|
||
# Env variables and functions for virtualenvwrapper. | ||
export WORKON_HOME=$HOME/dev/virtualenvs | ||
#. $HOME/bin/virtualenvwrapper_bashrc | ||
|
||
# Some useful additional completion. | ||
#. $HOME/dev/django/svn/django/trunk/extras/django_bash_completion | ||
#. $HOME/bin/hg_completion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
syntax: glob | ||
.hgignore | ||
*.pyc | ||
dist | ||
MANIFEST | ||
TAGS | ||
.svn* | ||
*.svn* | ||
*.DS_Store* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[ui] | ||
ignore = ~/.hgignore | ||
ssh = ssh -q -C | ||
username = Derek Payton <derek.payton@gmail.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# from http://www.macosxhints.com/comment.php?mode=view&cid=72187 | ||
|
||
# this makes the "delete" key work rather than | ||
# just entering a ~ | ||
"\e[3~": delete-char | ||
|
||
# these allow you to use ctrl+left/right arrow keys | ||
# to jump the cursor over words | ||
"\e[5C": forward-word | ||
"\e[5D": backward-word | ||
|
||
# these allow you to start typing a command and | ||
# use the up/down arrow to auto complete from | ||
# commands in your history | ||
"\e[B": history-search-forward | ||
"\e[A": history-search-backward | ||
|
||
# this lets you hit tab to auto-complete a file or | ||
# directory name ignoring case | ||
set completion-ignore-case On | ||
|
||
# I'm not sure what keys these are! | ||
"\e[1~": beginning-of-line | ||
"\e[4~": end-of-line | ||
"\e[5~": beginning-of-history | ||
"\e[6~": end-of-history | ||
"\e[2~": quoted-insert |