-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
44 lines (39 loc) · 932 Bytes
/
.bash_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
# ~/.bash_aliases
# Dotfile management.
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# Enhancements to default programs.
alias cp='cp -i'
alias df='df -h'
alias free='free -m'
alias nmcli='nmcli -p'
alias ls='ls --color=auto'
alias grep='grep --colour=auto'
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
alias hgrep='history | grep'
alias R='R --quiet'
alias sxiv='sxiv -at'
# Common typos.
alias ehco=echo
alias sl=ls
alias s=ls
alias ncmli=nmcli
alias nclim=nmcli
alias mkdri=mkdir
alias cim=vim
alias im=vim
alias bim=vim
alias ivm=vim
alias xcilp=xclip
alias xlcip=xclip
alias xlip=xclip
alias Z=z
# Git aliases.
alias gad='git add'
alias gco='git commit'
alias gst='git status'
alias glo='git log --oneline'
alias gbr='git branch'
alias gch='git checkout'
# Use docker container for pdflatex.
alias pdflatex='docker run -it --rm -v $(pwd):/project summila/alpine-texlive'