https://github.com/javierarce/terminal
My terminal commands and aliases.
https://github.com/javierarce/terminal
commands shell terminal zshrc
Last synced: about 1 month ago
JSON representation
My terminal commands and aliases.
- Host: GitHub
- URL: https://github.com/javierarce/terminal
- Owner: javierarce
- Created: 2019-12-17T10:27:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-26T07:57:19.000Z (over 6 years ago)
- Last Synced: 2025-02-10T14:15:25.369Z (over 1 year ago)
- Topics: commands, shell, terminal, zshrc
- Language: Vim Snippet
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terminal
My terminal commands and aliases.
## How to install
1. 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
```
2. Clone the project:
```
git clone git@github.com:javierarce/terminal.git ~/.zsh
```
3. Reload `zsh`:
```
source ~/.zshrc
```
## Available commands
* `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 width
* `height` - get image height
* `name` - generates a random adjective-noun pair (used in the `tpl` command).