blob: bc5346029767eed24422e9d2d2a6055c73e4be46 (
plain)
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
|
alias v="nvim"
alias y="yazi"
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
alias music="ncmpcpp"
# cargo aliases
alias cr="cargo run"
alias cb="cargo build"
alias ct="cargo test"
alias cc="cargo check"
alias crr="cargo run --release"
alias cre="cargo run --example"
alias cbr="cargo build --release"
alias ca="cargo add"
alias clippy="cargo clippy"
# git aliases
alias gs="git status"
alias ga="git add"
alias gc="git commit"
alias gcm="git commit -m"
alias gco="git checkout"
alias gcb="git checkout -b"
alias gpp="git pull"
alias gp="git push"
alias gl="git log"
alias gd="git diff"
alias gds="git diff --staged"
alias gaa="git add --all"
alias gc-="git checkout -"
alias gcl="git -C ~/git clone"
alias config='/usr/bin/git --git-dir=/home/user/.dots/ --work-tree=/home/user'
alias lg="lazygit"
alias lgc= "lazygit --git-dir=$HOME/.cfg --work-tree=$HOME"
alias cdp=". ~/.local/bin/cdp"
alias dcu="docker compose up -d"
alias dcd="docker compose down"
sample () {
yt-dlp -x --audio-format wav $1 -P home:~/Downloads/music/samples/
}
pp () {
pass show -c $1/password
}
pu () {
pass show -c $1/username
}
alias ffactorio="MIMALLOC_PAGE_RESET=0 MIMALLOC_LARGE_OS_PAGES=1 HUGETLB_MORECORE=thp MALLOC_ARENA_MAX=1 LD_PRELOAD=/usr/lib64/libmimalloc.so factorio"
|