-
Notifications
You must be signed in to change notification settings - Fork 0
/
.aliases
63 lines (55 loc) · 1.35 KB
/
.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
52
53
54
55
56
57
58
59
60
61
62
63
# Unileter alias
alias b='black *.py'
alias d='eog'
alias g='git'
alias m='make'
alias o='evince' #pdf viewer
alias p='python3'
alias ip='ipython3'
alias r='cargo run'
alias t='tmux'
alias v='nvim'
# Navigation alias
alias doc='cd ~/Documents'
alias pro='cd ~/Documents/Projets'
alias pp='cd ~/Documents/python/'
alias pc='cd ~/Documents/C/'
alias pa='cd ~/Documents/ASP/'
alias pr='cd ~/Documents/rust/'
alias cr='clear'
alias ll='ls -lh'
alias cdr='cd ..'
alias md='mkdir'
alias grep='grep --color'
alias cluster='ssh dvpicard@dga-cluster.jouy.inra.fr'
# Git alias
alias ga='git add'
alias gi='git init'
alias gc='git commit'
alias gst='git status'
alias gm='git mv'
alias grm='git rm'
alias gp='git push'
alias gu='git pull'
# Programm alias
alias clingo='~/Documents/ASP/Clingo/clingo'
alias irc='weechat-curses'
alias yt='mpsyt'
alias mp="mplayer"
# Snakemake alias
alias sm='snakemake'
# Sudo using alias
alias pi='pip3 install --user'
alias install='sudo dnf install'
alias up='sudo dnf upgrade'
# Templates alias
alias np='cp ~/Documents/templates/python_template.py'
alias na='cp ~/Documents/templates/asp_template.lp'
alias nd='cp ~/Documents/templates/uml_template.dot'
# Rust alias
alias cn='cargo new'
alias cb='cargo build'
alias cu='cargo update'
# Python virtualenv alias
alias crenv='virtualenv venv -p /usr/bin/python3'
alias srenv='source venv/bin/activate'