blob: 65b8e3c982f8d73bc520c72a1a8586be99b24138 (
plain)
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
|
export EDITOR=vim
export VISUAL=vim
alias V="vi"
alias vi=vim
alias lss="ls -Fx"
alias la="lss -a"
alias va="vi $HOME/.bash_aliases"
alias sa=". $HOME/.bash_aliases; . $HOME/.bash_aliases.local"
alias lsd="ls -Fx1 | egrep /"
alias pss="ps -ef"
alias psu="ps -f -u $LOGNAME"
alias h="history"
alias p="pwd"
alias cls='clear;printf "\033[3J"'
if [ $(uname) == "Darwin" ] ; then
alias start=open
else
alias start=cygstart
fi
alias search="find . -type f -print0 | xargs -0 grep"
alias searcha="find . -type f -print0 | xargs -0 grep -I"
alias wenv="env | egrep "
if [ -z "$XEDARG" ] ; then
export XEDARG="-i -r"
fi
if [ -e $HOME/.bash_dirs ] ; then
. $HOME/.bash_dirs
fi
# Directory setting
#
function dset
{
if [ "$1" == "" ] ; then
echo usage: dset name
else
echo "export $1=\"`pwd`\" ; alias $1='cd \"\$$1\"'" >> $HOME/.bash_dirs
. $HOME/.bash_dirs
fi
}
alias dsrc=". $HOME/.bash_dirs"
alias vd="vi $HOME/.bash_dirs"
alias dwot="alias | egrep cd"
|