-
Notifications
You must be signed in to change notification settings - Fork 0
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 d085fbd
Showing
9 changed files
with
182 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,4 @@ | ||
--type-add=ruby=.haml,.rake,.rsel | ||
--type-set=music=.mp3,.m4a,.flac,.ac3,.ogg,.aiff,.m4b,.aac,.wav,.wmv,.ape,.mka | ||
--type-set=manga=.cbz,.cbr,.cba,cb7 | ||
--type-set=tex-temp=.pdfsync,.log,.bbl,.aux,.blg,.synctex,.fdb,.out,.toc,.fdb_latexmk |
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,30 @@ | ||
|
||
[ -f ~/.bashrc ] && source ~/.bashrc | ||
|
||
export PS1="Bilalh: $ " # bash prompt | ||
export HISTFILESIZE=10000 # the bash history should save 10000 commands | ||
export HISTCONTROL=erasedups # remove duplicate from history | ||
# don't store history entries that match this pattern | ||
declare -x HISTIGNORE='op:opr:mlgw:cs:mll:ax:jr*:gitx:hista:mlwg:aes*:on:mdb*:histm: *' | ||
|
||
alias h='history | grep ' | ||
alias hist='history | less ' | ||
|
||
|
||
# Bash Settings | ||
shopt -s histappend # all sessions are saved | ||
shopt -s cdspell # fix minor error in cd paths | ||
shopt -s histreedit # allows re-edit on C-R | ||
|
||
export EDITOR='vim' | ||
|
||
source ~/.completion/git-completion.bash # git auto complete | ||
source ~/.bash/bashmarks.bash | ||
|
||
# Path settings(bin before current $PATH to override default version) | ||
export PATH=$HOME/bin:/usr/local/bin:$PATH | ||
# scripts | ||
export PATH=$PATH:/usr/local/sbin:$HOME/scripts:$HOME/bin/mplayer_osx | ||
# pkg config# pkg config# pkg config | ||
export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig" | ||
|
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,8 @@ | ||
#Adds all files in .bash at lanuch | ||
for i in ~/.bash/*.sh; do | ||
source $i | ||
done | ||
|
||
for i in ~/.pbash/*.sh; do | ||
source $i | ||
done |
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 @@ | ||
(add-to-list 'auto-mode-alist '("\\.[Cc][Ss][Vv]\\'" . csv-mode)) | ||
(autoload 'csv-mode "csv-mode" | ||
"Major mode for editing comma-separated value files." t) |
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,76 @@ | ||
bin/ | ||
tmp/ | ||
.svn/ | ||
.hg | ||
.svn | ||
CVS | ||
|
||
# automatic backup files | ||
*~.nib | ||
*.swp | ||
*~ | ||
*(Autosaved).rtfd/ | ||
Backup[ ]of[ ]*.pages/ | ||
Backup[ ]of[ ]*.key/ | ||
Backup[ ]of[ ]*.numbers/ | ||
|
||
# Mac OS X Finder | ||
.DS_Store | ||
# Sparkle distribution Private Key (Don’t check me in!) | ||
dsa_priv.pem | ||
# XCode (and ancestors) per-user config (very noisy, and not relevant) | ||
*.mode1 | ||
*.mode1v3 | ||
*.mode2v3 | ||
*.perspective | ||
*.perspectivev3 | ||
*.pbxuser | ||
# Xcode 4 | ||
xcuserdata/ | ||
project.xcworkspace/ | ||
# Generated files | ||
VersionX-revision.h | ||
|
||
|
||
*.aux | ||
*.glo | ||
*.idx | ||
*.log | ||
*.toc | ||
*.ist | ||
*.acn | ||
*.acr | ||
*.alg | ||
*.bbl | ||
*.blg | ||
*.dvi | ||
*.glg | ||
*.gls | ||
*.ilg | ||
*.ind | ||
*.lof | ||
*.lot | ||
*.maf | ||
*.mtc | ||
*.mtc1 | ||
*.out | ||
*.synctex.gz | ||
*.fls | ||
*.fmt | ||
*.ini | ||
*.log | ||
*.fdb_latexmk | ||
*.log | ||
*.watcher_pid | ||
|
||
*.DS_Store | ||
*.o | ||
*.out | ||
Thumbs.db | ||
*~ | ||
\#* | ||
.\#* | ||
*.swp | ||
*.tmproj | ||
tmtags | ||
*.class |
Empty file.
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,12 @@ | ||
set completion-ignore-case On | ||
|
||
# these allow you to use ctrl+left/right arrow keys | ||
# to jump the cursor over words | ||
# | ||
#"\e[5C": forward-word | ||
#"\e[5D": backward-word] | ||
"3": "#" | ||
"£": "#" | ||
|
||
set meta-flag on | ||
set input-meta on |
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,13 @@ | ||
#!/opt/local/bin/ruby1.9 | ||
require 'irb/ext/save-history' | ||
IRB.conf[:AUTO_INDENT] = false | ||
IRB.conf[:SAVE_HISTORY] = 100 | ||
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history" | ||
|
||
|
||
class Object | ||
# Return only the methods not present on basic objects | ||
def imethods | ||
(self.methods - Object.new.methods).sort | ||
end | ||
end |
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,36 @@ | ||
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # | ||
|
||
## Some general options ## | ||
|
||
# Turn off start message: | ||
startup_message off | ||
|
||
# Set messages timeout to one second: | ||
msgwait 1 | ||
hardstatus alwayslastline "%{=b}%{G} %{b}%w" | ||
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # | ||
|
||
## Keybindings ## | ||
|
||
# bind F7 to detach screen session from this terminal | ||
# bind F8 to kill current screen window. | ||
# bind F9 to create a new screen | ||
# bind F10 to rename current screen window | ||
# bind F11 to move to previous window | ||
# bind F12 to move to next window | ||
#bindkey -k k7 detach | ||
#bindkey -k k8 kill | ||
#bindkey -k k9 screen | ||
#bindkey -k k2 prev | ||
#bindkey -k k; title | ||
#bindkey -k F1 prev | ||
#bindkey -k k3 next | ||
|
||
bindkey -k k13 prev | ||
bindkey -k k14 next | ||
|
||
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # | ||
defscrollback 1000 | ||
# Make the output buffer large for (fast) xterms. | ||
termcapinfo xterm* OL=1000 | ||
shell bash |