forked from remirobert/42sh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.42conf
57 lines (55 loc) · 1.61 KB
/
.42conf
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
export PS1="\033[05m\033[07m\033[36m[${LOGNAME}] \033[01m${PWD} $\033[00m "
alias ne=emacs
alias emacs=emacs -nw
alias ls=ls --color=auto
alias ll=ls -l --color=auto
alias la=ls -A
alias l=ls -l --color=auto -CF
alias clean=rm -f *~; rm -f #*; rm -f *.o
alias c=gcc -W -Wall -Werror -Wextra --std=gnu99
alias g=g++ -W -Wall -Werror -Wextra
alias grun=g++ *.cpp -W -Wall -Werror -Wextra ; ./a.out | cat -e
alias ds=du -sck * | sort -n
alias open=xdg-open
alias sc=screen -S
alias sl=screen -ls
alias sr=screen -r
alias servethis=python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'
alias sudo=sudocmd
alias cgrep=grep -E -v '^(#|$|;)'
alias nocomment=cgrep
alias bak=bak
alias back=bak
alias niceprod=nicecool
alias np=niceprod
alias extract=extract
alias unall=extract
alias norme=~/norme/norme -nocheat -return -score -libc
alias man=man -Len -a
alias ban=ban
alias q=exit
alias make=make -j8
alias ..=cd ..
alias val=valgrind
alias wotgobblemem=ps -o time,ppid,pid,nice,pcpu,pmem,user,comm -A | sort -n -k 6 | tail -15
alias nautilus=nice -n 10 nautilus .
alias maj=sudo apt-get update && sudo apt-get safe-upgrade
alias c=clear
alias cat=nice -n 15 cat
alias erase=nice -n 16 shred -n 35 -z -u
alias rm=rm --interactive -I --preserve-root --one-file-system --verbose
alias wget=wget -c
alias mv=nice -n 15 mv --verbose
alias cp=nice -n 15 cp --verbose
alias grepr=grep -r
alias grep=grep -i --color
alias mkdir=mkdir -pv
alias t=tree -pxCF -L 2
alias pg=ps aux | grep
alias pl=ps faux | less
alias mkcd=mkcd
alias gti=git
alias gs=git status
alias gd=git diff
alias gc=git commit
alias gl=git log --graph --full-history --all --color