2023-08-26 20:21:53 +02:00

46 lines
967 B
Plaintext

# 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=($env.HOME)/.home/" $"--work-tree=($env.HOME)"
# Go
alias gob = go build -v
alias got = go test -v
# 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
alias ll = ls -la