My terminal commands and aliases.
- Add this on top of
.zshrc
:
SNIPPETS_DIR=~/.zsh/.snippets
if [ -f $SNIPPETS_DIR ]; then
source $SNIPPETS_DIR
else
echo "$SNIPPETS_DIR not found."
fi
- Clone the project:
git clone git@github.com:javierarce/terminal.git ~/.zsh
- Reload
zsh
:
source ~/.zshrc
tpl
- generates a new project using an existing template (vue or node) from my GitHub account.extract
- extract archives from any compressed file.width
- get image widthheight
- get image heightname
- generates a random adjective-noun pair (used in thetpl
command).