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
Showing
18 changed files
with
182 additions
and
164 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
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 @@ | ||
export PATH="$HOME/.cabal/bin:$PATH" |
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 @@ | ||
alias g=git |
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,3 @@ | ||
#!/bin/bash | ||
|
||
alias nave='$HOME/.nave/nave.sh' |
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 |
---|---|---|
@@ -1,23 +1,2 @@ | ||
#!/bin/bash | ||
|
||
#mk_nvm_interrupt() { | ||
# local bin="$1"; shift | ||
# alias "$bin"="__nvm_interrupt \"$bin\"" | ||
#} | ||
# | ||
#__nvm_interrupt() { | ||
# local bin="$1"; shift | ||
# unalias "$bin" | ||
# __nvm_load_default | ||
# "$bin" "$@" | ||
#} | ||
# | ||
#__nvm_load_default() { | ||
#} | ||
# | ||
#mk_nvm_interrupt nvm | ||
#mk_nvm_interrupt node | ||
#mk_nvm_interrupt uglifyjs | ||
#mk_nvm_interrupt coffee | ||
[[ -s ~/.nvm/nvm.sh ]] && . ~/.nvm/nvm.sh | ||
nvm use v0.4.1 |
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,2 @@ | ||
#!/bin/bash | ||
alias open=gnome-open |
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,33 @@ | ||
#!/bin/bash | ||
ps1() { | ||
local RED="$(c '1;32')" | ||
local ERR="$(c '1;3$(($??1:7))')" | ||
local DIR="$(c '1;34')" | ||
local PROMPT="$(c '1;32')" | ||
local CLEAR="$(c '0;38')" | ||
|
||
echo "$ERR[$PROMPT \u@\h $DIR\W $ERR]\$(ps1::git) \\$ $CLEAR" | ||
} | ||
|
||
c() { | ||
echo "\\[\\e[$@m\]" | ||
} | ||
|
||
ps1::isgit() { | ||
git symbolic-ref HEAD >/dev/null 2>/dev/null | ||
} | ||
|
||
ps1::git() { | ||
local branch="$(git symbolic-ref HEAD 2>/dev/null)" | ||
ps1::isgit || return | ||
|
||
[[ -z "$branch" ]] && branch='(detached)' | ||
branch="${branch##refs/heads/}" | ||
|
||
local dirty='' | ||
git diff --quiet 2>/dev/null || dirty='*' | ||
|
||
echo " -> $dirty$branch" | ||
} | ||
|
||
export PS1="$(ps1)" |
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 @@ | ||
#!/bin/bash | ||
|
||
rake() { | ||
if which bundle 2>&1 >/dev/null; then | ||
bundle exec rake "$@" | ||
else | ||
$(which rake) "$@" | ||
fi | ||
} |
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,7 @@ | ||
#!/bin/bash | ||
|
||
silence() { | ||
"$@" 2>&1 >/dev/null | ||
} | ||
|
||
alias ':s'=silence |
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
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
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# vim | ||
.*.sw[a-z] | ||
|
||
# rubinius | ||
*.rbc |
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
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
Submodule vim-markdown
added at
f3f96f
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.