forked from felipegiacomelli/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_aliases
56 lines (45 loc) · 2.02 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
# ~/.bash_aliases
# System
alias ls='ls --color=auto'
alias ll='ls -l --color=auto'
alias la='ls -la --color=auto'
alias LS='ls --color=auto'
alias LL='ls -l --color=auto'
alias LA='ls -la --color=auto'
alias CD='cd'
alias CLEAR='clear'
alias mylinks='find /usr/bin -maxdepth 1 -type l -ls | grep "\-> /home/felipe/.scripts/"'
alias bprofile='sublime ~/.bash_profile'
alias bashrc='sublime ~/.bashrc'
alias baliases='sublime ~/.bash_aliases'
alias vbprofile='vim ~/.bash_profile'
alias vbashrc='vim ~/.bashrc'
alias vbaliases='vim ~/.bash_aliases'
alias ..bprofile='. ~/.bash_profile'
alias ..bashrc='. ~/.bashrc'
alias ..baliases='. ~/.bash_aliases'
# Applications
alias sss='sublime *.sublime-project'
alias ggg='g++ -o main main.cpp -Wall -Wextra -g -DDEBUG -I$BOOST_DIR/Debug/Shared/include'
alias dstatic='cd . && cmake .. -G "Sublime Text 2 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug'
alias dshared='cd . && cmake .. -G "Sublime Text 2 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=TRUE'
alias rstatic='cd . && cmake .. -G "Sublime Text 2 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Release'
alias rshared='cd . && cmake .. -G "Sublime Text 2 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=TRUE'
alias bmake='make -j $NUMBER_OF_CORES'
alias BMAKE='make -j $NUMBER_OF_CORES'
alias btest='make test'
alias BTEST='make test'
alias fmake='make -C ../ -j $NUMBER_OF_CORES'
alias FMAKE='make -C ../ -j $NUMBER_OF_CORES'
alias ftest='make -C ../ test'
alias FTEST='make -C ../ test'
# alias p='python3 -B'
alias p='python3'
alias ctar='tar -czvf'
alias utar='tar -zxvf'
# sshfs
alias msinmec='sshfs mimosa:/home/felipe/SINMEC/PMTLib ~/Felipe/mount'
alias usinmec='fusermount -u ~/Felipe/mount'
alias mmimosa='sshfs mimosa:/home/felipe/Mimosa/ ~/Mimosa/'
alias umimosa='fusermount -u ~/Mimosa/'
alias mangelica='sshfs angelica:/home/felipe/Angelica/ ~/Angelica/'