-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.zsh
36 lines (29 loc) · 1.04 KB
/
aliases.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Zsh
alias zshconfig="nano ~/.zshrc"
alias ohmyzsh="nano ~/.oh-my-zsh"
alias reloadcli="source $HOME/.zshrc"
# Directories
alias dotfiles="cd $DOTFILES/"
alias workspace="cd $HOME/workspace/"
# Directory traversal
alias ..="cd ../"
alias ...="cd ../../"
alias ....="cd ../../../"
alias .....="cd ../../../../"
alias ......="cd ../../../../../"
# TheFuck
eval $(thefuck --alias)
alias fu=fuck
# Docker
## See: https://blog.baudson.de/blog/stop-and-remove-all-docker-containers-and-images
alias dkr-stop-all='docker stop $(docker ps -aq)'
alias dkr-rm-all-containers='docker rm $(docker ps -aq)'
alias dkr-rm-all-images='docker rmi $(docker images -q)'
alias dkr-clean-up='docker stop $(docker ps -aq) || docker rm $(docker ps -aq) || docker rmi $(docker images -q)'
# GGP
alias ggp='java -jar $HOME/workspace/sandbox/ggp/aws-greengrass-provisioner/build/libs/AwsGreengrassProvisioner.jar'
# PPTX
alias fix-pptx='python3 /Users/lluim/workspace/utils/scripts/remove_unused_slide_layouts/remove_unused_slide_layouts.py'
# EZA
alias ls="eza"
alias la="eza -la"