-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliasrc
executable file
·70 lines (67 loc) · 2.02 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
62
63
64
65
66
67
68
69
70
#!/bin/sh
# Aliases
alias l="eza --icons"
alias ccat="bat"
alias dmenu_run="dmenu_run -nb '#3c3836' -nf '#ebdbb2' -sb '#fb4934' -sf '#ebdbb2'"
alias ffmpeg="ffmpeg -hide_banner"
alias fhop="hfzf --bind 'enter:execute(smartopen {})'"
alias fop="fzf --bind 'enter:execute(smartopen {})'"
alias fzf="fzf --reverse"
alias hex="hexyl"
alias hfzf="rg --hidden --no-ignore --files --no-messages | fzf"
alias ll="eza --icons --group-directories-first -l"
alias m="batman"
alias rsm="doas rsm"
alias nv="LD_LIBRARY_PATH=\"$(pwd);$LD_LIBRARY_PATH\" nvim"
alias p="doas pacman"
alias pamu="passmenu -l 20"
alias pst="tmux-project-selector"
alias pstv="tmux-project-selector nvim"
alias pwndbg="exec gdb -ex init-pwndbg \"$@\""
alias r2="radare2"
alias rbin="rabin2"
alias snv="doas nvim"
alias sv="doas sv"
alias ssh="TERM=xterm-256color ssh"
alias tm="tmux"
alias v="vim"
alias yt="youtube-dl --add-metadata -i"
alias yta="yt -x -f bestaudio/best"
alias ytv="pipe-viewer --player=mpv"
alias cmd="cmake -G 'Ninja' -S . -B build"
alias calcurse="calcurse -D .config/calcurse"
alias synccal="calcurse-caldav --init=two-way --datadir $CALCURSE_DIR"
alias synccallocal="calcurse-caldav --init=keep-local --datadir $CALCURSE_DIR"
alias synccalremote="calcurse-caldav --init=keep-remote --datadir $CALCURSE_DIR"
# Git Aliases
alias g="git"
alias ga="git add"
alias gap="git apply"
alias gb="git branch"
alias gch="git checkout"
alias gcl="git clone --recursive"
alias gco="git commit"
alias gd="git diff"
alias gds="git diff --staged"
alias gf="git fetch"
alias gi="git init"
alias gl="git log"
alias gpl="git pull"
alias gps="git push"
alias gr="git remote"
alias grb="git rebase"
alias grm="git rm"
alias grs="git restore"
alias grst="git reset"
alias gs="git status"
alias gsh="git show"
alias gsm="git submodule"
alias gst="git stash"
alias gsw="git switch"
alias gtg="git tag"
alias gwt="git worktree"
# Adding color
alias diff="diff --color=auto"
alias grep="grep --color=auto"
alias hcat="highlight --out-format=ansi"
alias ls="ls --color=auto --group-directories-first"