Advertisement
kunansy

ZSH config

May 12th, 2022 (edited)
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. plugins=(git extract poetry docker docker-compose kubectl)
  2.  
  3. alias pth="python3.11"
  4. alias python="python3.11"
  5. alias ll="ls -la"
  6. alias k8s="kubectl"
  7. alias v="vim"
  8. alias nv="nvim"
  9. alias diff="difft"
  10. alias pq="pgcli"
  11. alias grp="rg -S"
  12. alias cat="bat --theme Dracula"
  13. alias c="bat --theme Dracula"
  14. alias b="bat --theme Dracula"
  15.  
  16. # docker aliases
  17. alias dst="docker ps -a"
  18. alias dp="docker stop"
  19. alias dlg="docker logs"
  20. alias drs="docker restart"
  21. alias dy="docker system prune -f"
  22. alias dld="docker-compose up -d --build --force-recreate"
  23. alias dlw="docker-compose down"
  24. alias di="docker image"
  25. alias dis="docker images"
  26. alias dl="docker pull"
  27.  
  28. # poetry aliases
  29. alias pst="poetry show --tree"
  30. alias psl="poetry show --latest"
  31. alias pa="poetry add"
  32. alias pad="poetry add -D"
  33. alias pu="poetry update"
  34. alias ph="poetry shell"
  35. alias pi="poetry install"
  36. alias prm="poetry remove"
  37. alias psc="poetry search"
  38.  
  39. alias cn="cargo new"
  40. alias cb="cargo build -j 10"
  41. alias cr="cargo run"
  42. alias ck="cargo check"
  43. alias cc="cargo clean"
  44. alias ct="cargo test -j 10"
  45. alias ci="cargo install -j 10"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement