-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
60 lines (53 loc) · 1.31 KB
/
.bashrc
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
59
60
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
# HISTCONTROL=ignoreboth
# HISTCONTROL=ignoredups:ignorespace
unset HISTCONTROL
HISTFILESIZE=1000
HISTSIZE=1000
HISTTIMEFORMAT="%F %T "
export HISTCONTROL
export HISTFILESIZE
export HISTSIZE
# Appending $HOME/bin to PATH is redundant on some systems,
# but not all, so do it anyway.
PATH="${PATH}:${HOME}/bin"
set -o vi
alias ll='ls -l'
alias la='ls -la'
alias lll='ls -l --full-time'
alias ltr='ls -ltr'
alias ltra='ls -ltra'
export LINES
export COLUMNS
# EDITOR value is for git.
EDITOR=vim
export EDITOR
# PAGER is convenient for wide queries in psql.
PAGER='less -S'
export PAGER
alias c='calendar -A 7 -B 2'
alias c='calendar -A 7'
alias c='cal | grep -v "^ *$";calendar -A 7'
alias d='date --iso-8601=ns'
alias gd='git difftool -t meld'
alias gy='git difftool -t meld -y'
alias fa='git fetch --all'
alias gl='git lg'
alias gl1='git lg -10 --all'
alias gl2='git lg -20 --all'
alias gl3='git lg -30 --all'
alias gl4='git lg -40 --all'
alias gl5='git lg -50 --all'
alias gl6='git lg -60 --all'
alias gl7='git lg -70 --all'
alias gl8='git lg -80 --all'
alias gll='git lg --all'
umask 0277
umask 0027