-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bashrc.aliases
51 lines (38 loc) · 1014 Bytes
/
.bashrc.aliases
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 LS_OPTIONS=''
case $( uname -s ) in
Linux )
if [ -x /usr/bin/dircolors ]; then
eval `dircolors -b` # sets and exports LS_COLORS for bash terminals
alias ls='ls --color=auto'
fi
;;
Darwin )
export LSCOLORS="ExfxcxdxbxEgEdabagacad"
alias ls='ls -G'
;;
esac
# Exclude . and .. , case insensitive sort, with /*@=%| symbols
# alias l='ls -lAfF'
alias l='ls -lAF'
# Paginated list
alias ll='l|less'
# Back one directory
alias -- ..='cd ..'
# Previous directory
alias -- -='cd -'
# Require confirmation
alias rm='rm -i'
# Overwrite confirmation, preserve attributes, recursive, do not follow symlinks
alias cp='cp -ia'
# Overwrite confirmation
alias mv='mv -i'
alias grep='grep --color=auto'
alias df='df -h'
#alias less='less -nS'
alias screen='/usr/bin/screen -a -h 10000 -R'
alias ded='mcedit -d -C editnormal=lightgray,black'
alias ded2='diakonos'
alias aee='aee -j'
alias nano='nano -cESm --tabsize=4'
## requires ~/.gcalclirc
alias agenda='gcalcli --cals all calw 2|less -r'