2024-08-21 00:12:22 +00:00
|
|
|
abbr c="clear"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr cs="create-script"
|
|
|
|
abbr daily="run create-daily next"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr rst="rst2pdf"
|
2024-11-20 11:06:12 +00:00
|
|
|
abbr st="source .tmux"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr sz="source ~/.config/zsh/.zshrc"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr ti="timer"
|
2024-09-03 23:00:16 +00:00
|
|
|
abbr uagr="update-all-git-repos"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr v="nvim"
|
2024-09-03 23:00:16 +00:00
|
|
|
abbr yt="yt-dlp"
|
2024-06-30 13:22:55 +00:00
|
|
|
|
2024-08-20 18:30:13 +00:00
|
|
|
abbr evl="export-video-list"
|
|
|
|
abbr vv="cat ~/Documents/videos.json"
|
|
|
|
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr g="git"
|
|
|
|
abbr ga="git add"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr gan="git add -N"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr gap="git add -p"
|
2024-11-04 23:03:22 +00:00
|
|
|
abbr gb="git branch"
|
|
|
|
abbr gbl="git blame"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr gc="git commit"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr gca="git commit --amend"
|
2024-10-06 08:55:15 +00:00
|
|
|
abbr gcan="git commit --amend --no-edit"
|
2024-10-25 19:50:47 +00:00
|
|
|
abbr gcl="git clone"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr gcm="git commit -m"
|
2024-10-25 19:50:47 +00:00
|
|
|
abbr gco="git checkout"
|
2024-11-09 21:24:11 +00:00
|
|
|
abbr gcob="git checkout -b"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr gd="git diff"
|
2024-10-30 14:52:31 +00:00
|
|
|
abbr gds="git diff --staged"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr gf="git fetch"
|
|
|
|
abbr gfa="git fetch --all"
|
|
|
|
abbr gl="git log"
|
|
|
|
abbr glo="git log --oneline"
|
|
|
|
abbr gls="git log --stat"
|
2024-11-09 21:24:11 +00:00
|
|
|
abbr gm="git merge"
|
|
|
|
abbr gmf="git merge --ff"
|
|
|
|
abbr gmnf="git merge --no-ff"
|
2024-12-10 09:13:31 +00:00
|
|
|
abbr gp="git push"
|
|
|
|
abbr gpa="git push acquia"
|
|
|
|
abbr gpam="git push acquia main"
|
|
|
|
abbr gpap="git push acquia HEAD:production"
|
2024-07-14 09:38:24 +00:00
|
|
|
abbr gpl="git pull"
|
2024-10-06 08:55:15 +00:00
|
|
|
abbr gplr="git pull --rebase"
|
2024-12-10 09:13:31 +00:00
|
|
|
abbr gpo="git push origin"
|
|
|
|
abbr gpom="git push origin main"
|
2024-10-25 19:50:47 +00:00
|
|
|
abbr gr="git rebase"
|
2024-11-09 21:24:11 +00:00
|
|
|
abbr gra="git rebase --abort"
|
|
|
|
abbr grc="git rebase --continue"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr gri="git rebase -i"
|
|
|
|
abbr gs="git status"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr gsh="git show"
|
2024-10-25 19:50:47 +00:00
|
|
|
abbr gst="git stash"
|
|
|
|
abbr gstp="git stash pop"
|
2024-06-30 13:22:55 +00:00
|
|
|
|
2024-09-25 20:33:55 +00:00
|
|
|
# tmux
|
|
|
|
abbr ta="tmux attach"
|
|
|
|
abbr tl="tmux list-sessions"
|
|
|
|
abbr tk="tmux kill-session"
|
|
|
|
|
2024-06-30 13:22:55 +00:00
|
|
|
# Docker and Docker Compose.
|
|
|
|
abbr dk="docker"
|
|
|
|
abbr dkp="docker ps"
|
|
|
|
abbr dkpa="docker ps -a"
|
|
|
|
abbr dkpaq="docker ps -a -q"
|
|
|
|
abbr dkb="docker build -t"
|
|
|
|
abbr dks="docker start"
|
|
|
|
abbr dkt="docker stop"
|
|
|
|
abbr dkrm="docker rm"
|
|
|
|
abbr dkri="docker rmi"
|
|
|
|
abbr dke="docker exec -ti"
|
|
|
|
abbr dkl="docker logs -f"
|
|
|
|
abbr dki="docker images"
|
|
|
|
abbr dkpu="docker pull"
|
|
|
|
abbr dkph="docker push"
|
|
|
|
abbr dkbnc="docker build --no-cache -t"
|
|
|
|
abbr dkr="docker run --rm"
|
|
|
|
abbr dkrti="docker run --rm -ti"
|
|
|
|
abbr dkc="docker compose"
|
|
|
|
abbr dkcb="docker compose build"
|
|
|
|
abbr dkcu="docker compose up"
|
|
|
|
abbr dkclean="docker ps -q -a -f status=exited | xargs -r docker rm && docker images -q -f dangling=true | xargs -r docker rmi"
|
|
|
|
|
2024-08-21 00:12:22 +00:00
|
|
|
# Nix and direnv.
|
|
|
|
abbr dea="direnv allow"
|
|
|
|
abbr dee="direnv edit"
|
|
|
|
abbr nxf="nix flake"
|
|
|
|
abbr nxfc="nix flake check"
|
|
|
|
abbr nxfs="nix flake show"
|
|
|
|
abbr nxfu="nix flake update"
|
|
|
|
abbr nxr="nix run nixpkgs#%"
|
|
|
|
abbr nxs="nix shell nixpkgs#%"
|
|
|
|
|
2024-06-30 13:22:55 +00:00
|
|
|
# run scripts.
|
|
|
|
abbr r="run"
|
|
|
|
abbr rc="run composer"
|
2024-08-21 08:00:00 +00:00
|
|
|
abbr rcda="run composer dump-autoload"
|
2024-10-09 16:46:37 +00:00
|
|
|
abbr rci="run composer install"
|
2024-08-21 08:00:00 +00:00
|
|
|
abbr rcr="run composer require"
|
|
|
|
abbr rcu="run composer update"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr rd="run drush"
|
|
|
|
abbr rdce="run drush config:export -y"
|
|
|
|
abbr rdci="run drush config:import -y"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr rdcr="run drush cache:rebuild"
|
|
|
|
abbr rdscr="run drush php:script"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr rduli="run drush uli"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr rdup="run drush updatedb -y"
|
2024-08-21 08:00:00 +00:00
|
|
|
abbr rpub="run publish"
|
|
|
|
abbr rt="run test"
|
2024-08-21 00:12:22 +00:00
|
|
|
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr -g A1="| awk '{print $1}'"
|
2024-08-19 20:41:42 +00:00
|
|
|
abbr -g C="| xclip -sel clip"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr -g Fj="| jq ."
|
|
|
|
abbr -g Fy="| yq ."
|
|
|
|
abbr -g G="| grep"
|
|
|
|
abbr -g GH="| grep HTTP"
|
|
|
|
abbr -g Gi="| grep -i"
|
|
|
|
abbr -g H2="| head -n 20"
|
|
|
|
abbr -g H="| head"
|
|
|
|
abbr -g L="| less"
|
2024-08-21 00:12:22 +00:00
|
|
|
abbr -g V="| nvim -"
|
2024-06-30 13:22:55 +00:00
|
|
|
abbr -g X="| xargs -I1"
|
2024-10-06 08:55:15 +00:00
|
|
|
|
|
|
|
abbr today="task +TODAY"
|
|
|
|
abbr tomorrow="task +TOMORROW"
|
|
|
|
abbr overdue="task +OVERDUE"
|
|
|
|
|
|
|
|
abbr nah="git reset --hard; git clean -fd"
|
|
|
|
abbr wip="git commit -m wip"
|
2024-11-16 15:11:21 +00:00
|
|
|
|
|
|
|
abbr dv="devenv"
|
|
|
|
abbr dvi="devenv info"
|
|
|
|
abbr dvp="devenv processes"
|
|
|
|
abbr dvs="devenv shell"
|
|
|
|
abbr dvt="devenv tasks"
|
|
|
|
abbr dvu="devenv up"
|