A tiny shell tool
- Clone repository:
git clone https://github.com/Chisw/jikit.git
- Open or create
~/.zsh
, paste the following code and save:
export PATH=/Users/USER_NAME/PROJECTS_DIR/jikit:$PATH
- Source
~/.zsh
to the end of~/.zshrc
for global use
if [ -f ~/.zsh ]; then
. ~/.zsh
fi
Copy a common code
You have to prepare the corresponding code file in advance and store it in the folder like:
jikit
- commands
- source
- copy
- demo.txt
jk cp demo.txt
The text in demo.txt
will be copied into your clipboard.
Get local IP address and copy it into your clipboard.
Generate names of all folders and files in current directory into a .txt file created on the Desktop.
Batch convert any format of video to mp4 with ffmpeg
, install it before use:
brew install ffmpeg