-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaliases
35 lines (35 loc) · 3.04 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
alias cal='cal -3' # Preferred 'cal' implementation
alias ncal='ncal -3Mb' # ncal: Print context and start with Monday
alias cp='cp -iv' # Preferred 'cp' implementation
alias mv='mv -iv' # Preferred 'mv' implementation
alias mkdir='mkdir -v' # Preferred 'mkdir' implementation
alias ls='ls -G --group-directories-first --color=auto' # Preferred directory listing
alias ll='ls -FGlAhp --group-directories-first --color=auto' # Preferred 'ls' implementation
alias less='less -SRXcin' # Preferred 'less' implementation
alias cd..='cd ../' # Go back 1 directory level (for fast typers)
alias ..='cd ../' # Go back 1 directory level
alias ...='cd ../../' # Go back 2 directory levels
alias c='clear' # c: Clear terminal display
alias gdb='gdb -q' # gdb: Make gdb start in quiet mode
alias rust-gdb='rust-gdb -q' # rust-gdb: Make rust-gdb start in quiet mode
alias bell="echo -ne \"\\a\"" # bell: Print bell character
alias dd='dd bs=128M status=progress' # dd: Set blocksize and show progress in dd
alias free='free -htw' # free: Always human readable, total, wide
alias pstree='pstree -ahlp' # pstree: Arguments, highlight, long, pids
alias pgrep='pgrep -af' # pgrep: Print command and full search
alias df='df -h' # df: Always human readable, total and show type
alias du='du -ch' # du: Always human readable and total
alias rg='rg -S --hidden -g "!.git"' # rg: By default use smart case and ignore git folder
alias tmux='tmux -u -f $HOME/.config/tmux/tmux.conf' # tmux: Set the default config dir for tmux
alias trans='trans -sl "sk+en"' # trans: Restrict the source languages to main ones
alias htop='htop -t' # htop: Always prefer the tree view
alias r2='r2 -c "e scr.prompt.vi=true"' # r2: Vim bindings for radare2
alias ipython='ipython --TerminalInteractiveShell.editing_mode=vi' # ipython: Vim bindings for ipython
alias clear='clear -x' # clear: Don't delete scrollback
alias serve='python3 -m http.server' # serve: Serve the current directory via http
alias timestamp='date --utc +%+4Y%m%dT%H%MZ' # timestamp: Current timestamp in UTC ISO 8601 compliant usable in filenames
alias e='vim' # e: Launch editor
alias ip='ip --color=auto' # ip: Add color to ip commands
alias watch='watch -d' # watch: Automatically highlight differences
alias ncdu='ncdu --color off' # ncdu: Better for light colorthemes
alias sshuf='shuf --random-source=/dev/random' # sshuf: More random shuf?