A simple bash script to
- Add a shebang (if required)
- Add an info header
- Add code template (can be toggled)
- Make file executable
- Update last modified column of info header
Supported languages : bash, c, c++, c#, css, java, javascript, perl, php, python, ruby, rust, swift, typescript.
Author Laraib07 and GetOutOfMyBakery
apt update && apt upgrade -y
apt install git
- Clone this repo.
git clone https://github.com/laraib07/kode.git
- Give kode necessary permission.
chmod 755 kode
- Create a symlink of kode to bin folder.
For termux
ln -s $PWD/kode $PREFIX/bin/kode
for linux desktop
sudo ln -s $PWD/kode /usr/bin/kode
- To set author name
Necessary
kode -a name
- I keep imoroving this script. So to update go to kode folder and
git pull