-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliasrc
executable file
·61 lines (56 loc) · 1.34 KB
/
aliasrc
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
alias ls="lsd"
alias l="lsd"
alias la="lsd -a"
alias lrth="lsd -lrtha"
alias h="history"
alias p="ping"
alias pg="ping www.google.com"
alias p1="ping 1.1"
alias c="clear"
alias y="yarn"
alias du="du -h"
alias vs="code"
#alias code="code-insiders"
#alias vs="code-insiders"
alias open="xdg-open"
alias o="open"
alias py="python3"
alias v="nvim"
alias dc="docker-compose"
alias dcu="docker-compose up"
alias dcd="docker-compose down"
alias dcr="docker-compose restart"
alias du="dust" # Graphical du replacement. Easily see how disk is being used
alias b="bat"
# alias fzf="fzf -m"
# alias f="fzf"
alias t="tmux"
alias y="yarn"
alias logview="less +F"
alias n="node"
alias d="delta" # Diff replacement
alias diff="difft" # Diff replacement
alias df="duf" # df replacement
# Xclip (copy to clipboard from terminal)
alias xclip="xclip -sel clip"
alias xc="xclip"
# Clip command to copy from WSL to Windows clipboard
alias clip="clip.exe"
# Git aliases
alias gcam="git commit -am"
alias gc="git commit"
alias gcm="git commit -m"
alias gaa="git add --all"
alias gco="git checkout"
alias g="git"
alias gl="git log --all --graph --decorate"
alias gh="git log --all --graph --decorate --oneline"
alias gbr="git branch -vv"
alias gap="git add -p"
# Helpers
alias mv="mv -i"
alias cp="cp -i"
alias j="z"
alias e="explorer.exe"
alias whatip="curl ipecho.net/plain"
alias pn="pnpm"