Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Aliases

Fedora Linux

cd /etc/profile.d
sudo touch my-aliases.sh

Copy and paste to my-aliases.sh:

alias la='ls -lAh --color=auto'
alias gits='git status'
alias gitcup='git add . && git commit -am "Updates." && git push'
alias gitcu='git add . && git commit -am "Updates."'
alias gitfap='git fetch --all --prune'
alias dkc='docker compose'

Restart terminal.

macOS

cd ~
touch .aliases

Copy and paste to .aliases:

alias la='ls -lAh --color=auto'
alias gitcup='git add . && git commit -am "Updates." && git push'
alias gitcu='git add . && git commit -am "Updates."'
alias gitfap='git fetch --all --prune'

Add this line to ~/.zshenv:

[ -f ~/.aliases ] && source ~/.aliases

Restart terminal.