2024-02-01 19:59:19 +00:00
|
|
|
# Git
|
|
|
|
alias g "git"
|
|
|
|
alias gc "git clone"
|
|
|
|
alias gd "git diff"
|
|
|
|
alias gl "git log --oneline"
|
|
|
|
alias gp "git pull"
|
|
|
|
alias gs "git status"
|
|
|
|
alias home "git --git-dir=$HOME/.home/ --work-tree=$HOME"
|
|
|
|
|
|
|
|
# Go
|
2024-02-01 22:59:16 +00:00
|
|
|
alias gb "go build -v"
|
|
|
|
alias gt "go test -v"
|
2024-02-01 19:59:19 +00:00
|
|
|
|
|
|
|
# Hyperfine
|
|
|
|
alias bench "hyperfine --shell=none"
|
|
|
|
|
2024-06-24 08:29:54 +00:00
|
|
|
# Jump
|
|
|
|
alias jh "cd"
|
|
|
|
alias jb "cd ~/.local/bin"
|
|
|
|
alias jc "cd ~/.config"
|
|
|
|
alias jp "cd ~/projects"
|
|
|
|
|
2024-03-22 13:58:11 +00:00
|
|
|
# Kernel
|
|
|
|
alias kerr "sudo dmesg --level=emerg,alert,crit,err"
|
|
|
|
alias klog "sudo dmesg"
|
|
|
|
|
2024-02-01 22:59:16 +00:00
|
|
|
# List
|
|
|
|
alias l "ls"
|
2024-02-01 23:13:31 +00:00
|
|
|
alias ll "ls -l"
|
|
|
|
alias l2 "ls -T -L2"
|
2024-02-01 22:59:16 +00:00
|
|
|
alias lu "ls -l --total-size --sort=size --reverse --no-permissions --no-user --no-time"
|
|
|
|
alias lp "ls -l --no-filesize --no-time"
|
|
|
|
|
2024-03-09 21:03:35 +00:00
|
|
|
# Lsof
|
|
|
|
alias tcp "lsof -PniTCP"
|
|
|
|
alias udp "lsof -PniUDP"
|
|
|
|
|
2024-02-01 19:59:19 +00:00
|
|
|
# Neovim
|
|
|
|
alias e "nvim"
|
|
|
|
alias n "nvim"
|
|
|
|
|
|
|
|
# Pacman
|
|
|
|
alias p "pacman"
|
|
|
|
alias pi "sudo pacman -S"
|
|
|
|
alias pr "sudo pacman -Rs"
|
|
|
|
alias pu "sudo pacman -Syu"
|
2024-02-01 22:59:16 +00:00
|
|
|
alias pl "pacman -Q"
|
|
|
|
alias po "pacman -Qo"
|
2024-06-11 19:02:22 +00:00
|
|
|
alias pe "pacman -Qe"
|
2024-02-01 22:59:16 +00:00
|
|
|
alias pc "sudo pacman -Sc"
|
2024-03-05 12:28:48 +00:00
|
|
|
alias paur "pacman -Qm"
|
2024-02-01 22:59:16 +00:00
|
|
|
alias porphan "pacman -Qtdq"
|
2024-02-01 19:59:19 +00:00
|
|
|
|
|
|
|
# Tmux
|
|
|
|
alias ta "tmux attach"
|
|
|
|
alias td "tmux detach"
|
|
|
|
alias tl "tmux ls"
|
|
|
|
alias tk "tmux kill-server"
|
|
|
|
|
|
|
|
# Systemctl
|
|
|
|
alias s "systemctl"
|
2024-03-21 13:50:22 +00:00
|
|
|
alias s+ "sudo systemctl start"
|
|
|
|
alias s- "sudo systemctl stop"
|
|
|
|
alias se "sudo systemctl enable"
|
|
|
|
alias sd "sudo systemctl disable"
|
|
|
|
alias sr "sudo systemctl restart"
|
2024-02-01 22:59:16 +00:00
|
|
|
alias ss "systemctl status"
|
2024-02-01 19:59:19 +00:00
|
|
|
alias sl "systemctl list-units --type=service --state=running"
|
|
|
|
alias sld "systemctl list-unit-files --type=service --state=disabled"
|
|
|
|
alias sle "systemctl list-unit-files --type=service --state=enabled"
|
|
|
|
alias slt "systemctl list-timers"
|
|
|
|
|
|
|
|
# ...
|
2024-05-23 16:11:22 +00:00
|
|
|
alias bios "systemctl reboot --firmware-setup"
|
2024-02-01 22:59:16 +00:00
|
|
|
alias cfg "config"
|
2024-02-01 19:59:19 +00:00
|
|
|
alias cls "clear"
|
2024-06-24 08:29:54 +00:00
|
|
|
alias disasm "ndisasm -b 64 -e 128"
|
2024-06-17 17:11:29 +00:00
|
|
|
alias ff "fastfetch"
|
2024-02-01 19:59:19 +00:00
|
|
|
alias hex "hexdump -C"
|
2024-02-01 22:59:16 +00:00
|
|
|
alias log "journalctl"
|
2024-03-21 22:16:02 +00:00
|
|
|
alias utc "date -u +'%Y-%m-%dT%H:%M:%SZ'"
|
2024-06-19 14:52:32 +00:00
|
|
|
alias dl "yt-dlp -x -f bestaudio"
|
2024-06-24 08:29:54 +00:00
|
|
|
alias mirror "wget -mpEk"
|