Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilalh committed May 7, 2011
0 parents commit d085fbd
Show file tree
Hide file tree
Showing 9 changed files with 182 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ackrc
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
30 changes: 30 additions & 0 deletions .bash_profile
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"

8 changes: 8 additions & 0 deletions .bashrc
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
3 changes: 3 additions & 0 deletions .emacs
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)
76 changes: 76 additions & 0 deletions .gitignore
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 added .gvimrc
Empty file.
12 changes: 12 additions & 0 deletions .inputrc
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
13 changes: 13 additions & 0 deletions .irbrc
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
36 changes: 36 additions & 0 deletions .screenrc
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

0 comments on commit d085fbd

Please sign in to comment.