Sunday, 11 September 2011

Profile init scripts

My .inputrc
set completion-prefix-display-length 2
set completion-ignore-case on

# 1 TAB not 2 to list options
set show-all-if-ambiguous on
set show-all-if-unmodified on

# set - same as _
set completion-map-case on

bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'

# grc from
alias gtail='grc tail'

alias l='ls -alF'

My Mac's .bash_profile:

# colors
export CLICOLOR=1
export TERM=xterm-color
export LSCOLORS=gxgxcxdxbxegedabagacad # cyan directories
export PS1='\[\033[01;32m\]\u@:\[\033[01;36m\]\w\[\033[00m\]\$ '

Packages to install

Command Line FU

1 comment:

  1. on an ubuntu nuke:
    change ALT key to windows key for window moving:
    gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string ''