refactoring

This commit is contained in:
Loic Nageleisen 2012-08-09 15:37:56 +02:00
parent 53b18ca0db
commit f699a87614
24 changed files with 67 additions and 57 deletions

6
home/ackrc Normal file
View file

@ -0,0 +1,6 @@
--type-set
coffee=.coffee
--type-set
less=.less
--type-add
ruby=.builder

1
home/bash_profile Symbolic link
View file

@ -0,0 +1 @@
../bash/profile

1
home/bashrc Symbolic link
View file

@ -0,0 +1 @@
../bash/rc

51
home/inputrc Normal file
View file

@ -0,0 +1,51 @@
# unicode input
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off
# useful with XDG/MacOSX folders
set completion-ignore-case on
#set show-all-if-ambiguous
# home/end, pageup/dn, ins/del
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[2~": quoted-insert
"\e[3~": delete-char
# arrow combos
#"\e[5C": forward-word
#"\eOC": forward-word
#"\e[5D": backward-word
#"\eOD": backward-word
#"\e\e[C": forward-word
#"\e\e[D": backward-word
# for rxvt, home/end
"\e[7~": beginning-of-line
"\e[8~": end-of-line
# for non RH/Debian xterm, can't hurt for RH/Debian xterm
"\eOH": beginning-of-line
"\eOF": end-of-line
# for freebsd console
"\e[H": beginning-of-line
"\e[F": end-of-line
# Control+left/right
"\e[1;5D": backward-word
"\e[1;5C": forward-word
# Option+left/right
"\e[1;3D": backward-word
"\e[1;3C": forward-word
# Control+left/right on Terminal.app
"\e[5D": beginning-of-line
"\e[5C": end-of-line
# Option+left/right on Terminal.app
"\ef": forward-word
"\eb": backward-word

19
home/profile Normal file
View file

@ -0,0 +1,19 @@
## .profile
# utility functions
path_append () {
PATH="$PATH:$1"
}
path_prepend () {
PATH="$1:$PATH"
}
# load all shell files
for file in ~/.dotfiles/shell/*; do
. $file
done
export PATH
# vim: ft=sh

11
home/screenrc Normal file
View file

@ -0,0 +1,11 @@
startup_message off
hardstatus on
hardstatus alwayslastline
#hardstatus string "%3n %t%? @%u%?%? [%h]%?%=%c"
hardstatus string '%{= kW}%-Lw%{= kY}%50>%n%f* %t%{= kW}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
defscrollback 1024
vbell off

1
home/tmux.conf Normal file
View file

@ -0,0 +1 @@
set -g default-terminal "screen-256color"

1
home/zprofile Symbolic link
View file

@ -0,0 +1 @@
../zsh/profile

1
home/zshrc Symbolic link
View file

@ -0,0 +1 @@
../zsh/rc