Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 1.24 KB

README.md

File metadata and controls

74 lines (52 loc) · 1.24 KB

kode

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.

preview.gif

Installation

apt update && apt upgrade -y
apt install git
  1. Clone this repo.
git clone https://github.com/laraib07/kode.git
  1. Give kode necessary permission.
chmod 755 kode
  1. 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
  1. To set author name

Necessary

kode -a name
  1. I keep imoroving this script. So to update go to kode folder and
git pull

Screenshots

preview1

preview2