guest@dotshare [~/groups/shells/bash] $ ls caminoix/ | cat

caminoix (raw, dl) (+1 likes)

caminoix Jun 25, 2011 (shells/bash)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
### SETTINGS

# autojump
. /etc/profile
. /etc/profile.d/autojump.bash

# ignore history duplicates and spaces
export HISTCONTROL=ignoreboth

# nice prompt
PS1="\n\w \[\033[0;32m\]$\[\033[0m\] "

# completion
if [ -f /etc/bash_completion ]; then
	. /etc/bash_completion
fi

# free ctrl-s for use in Vim
stty -ixon -ixoff


### LOOK

colBgNormal="#2a2b2f"
colFgFocus="#62c579"
colFgNormal="#e1e0e5"
colFgUnimp="#67686b"
colFgUrgent="#e6ac32"
fontNormal="-*-dax-light-r-normal-*-17-*-*-*-p-*-iso8859-1"

alias dzen='dzen2 -bg $colBgNormal -fg $colFgNormal '

# open office look and partial dialog fix
export OOO_FORCE_DESKTOP=gnome
export SAL_USE_VCLPLUGIN=gtk


### USABILITY

# some aliases
alias cal='cal -m'					# -m: monday's the first day
alias locate='locate -i'			# -i: case-insensitive
alias ls='ls --color=auto -C'		# -C: columns
alias grep='grep --color=auto -in'	# -i: case-insensitive; -n: line numbers
alias nano='nano -c'				# -c: line numbers
alias open='gnome-open'
alias rm="rm -i"					# silly, silly me
alias updatedb='sudo updatedb'
alias pf='ps aux | grep'

# defaults
export BROWSER=/usr/bin/chromium
export EDITOR=/usr/bin/vim
export PAGER=/usr/bin/vimpager && alias less=$PAGER
export TERM='xterm-256color'

# arch specific
alias pacman='sudo pacman'

CLICK TO VIEW

x

Comments

caminoix said about 13 years ago

A few useful ideas and hacks. Mostly self-evident, I think.

bollovan said about 13 years ago

About this line:
fontNormal="-*-dax-light-r-normal-*-17-*-*-*-p-*-iso8859-1"
Where did you get that font?

edited about 13 years ago