51 lines
1.0 KiB
Fish
51 lines
1.0 KiB
Fish
# 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
|
|
alias gob "go build -v"
|
|
alias got "go test -v"
|
|
|
|
# Hyperfine
|
|
alias bench "hyperfine --shell=none"
|
|
|
|
# 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"
|
|
|
|
# Tmux
|
|
alias t "tmux"
|
|
alias ta "tmux attach"
|
|
alias td "tmux detach"
|
|
alias tl "tmux ls"
|
|
alias tk "tmux kill-server"
|
|
|
|
# Systemctl
|
|
alias s "systemctl"
|
|
alias s+ "systemctl start"
|
|
alias s- "systemctl stop"
|
|
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"
|
|
alias ss "systemctl status"
|
|
|
|
# ...
|
|
alias cdp "cd ~/projects"
|
|
alias cls "clear"
|
|
alias hex "hexdump -C"
|
|
|
|
# Close all windows
|
|
alias closeall "wmctrl -l | awk '{print $1}' | xargs -rn1 wmctrl -ic"
|