-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_shell_aliases
23 lines (21 loc) · 1.6 KB
/
dot_shell_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
alias cp='cp -iv' # Preferred 'cp' implementation
alias dir='builtin cd' # Default directory behavior
alias mv='mv -iv' # Preferred 'mv' implementation
alias rm='rm -iv' # Preferred 'rm' implementation
alias mkdir='mkdir -pv' # Preferred 'mkdir' implementation
alias less='less -FSRXc' # 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 ~="cd ~" # ~: Go Home
alias c='clear' # c: Clear terminal display
alias f='open -a Finder ./' # f: Opens current directory in MacOS Finder
alias ll='eza -Slhg --icons' # Full colorized listing information
alias lla='eza -Slhga --icons' # Full and complete colorized listing information
alias lr='eza -DT | less' # Full Recursive Directory Listing
alias t="eza -lTL 1 --group-directories-first" # nice directory tree listing (long, human readable)
alias tt="eza -TL 2 --group-directories-first" # nice directory tree listing, but just 2 levels
alias ttop="top -R -F -s 10 -o rsize" # ttop: Recommended 'top' invocation to minimize resources
# if we are in a tmate session, alias tmux as tmate
if [[ $TMUX =~ tmate ]]; then alias tmux=tmate; fi
alias mux="tmuxinator"