Skip to content

theworkjoy/command-not-found-neoterm

Repository files navigation

Command Not Found NeoTerm

Table of Contents

  1. Adding Repo Source.list
  2. Installing Package
  3. Editing .zshrc
  4. Edit command_not_found_handler
  5. Updating commands.db

1. Adding Repo Source.list

To add this repository to your NeoTerm setup, follow these steps:

  1. Open NeoTerm on your device.

  2. Run the following command to edit the sources.list file:

    nano $PREFIX/etc/apt/sources.list.d/theworkjoy.list
  3. Add the following line at the end of the file:

    deb [trusted=yes] https://repo.theworkjoy.com/ neoterm extras
  4. Save the changes by pressing Ctrl + O, then press Enter. Exit the editor with Ctrl + X.

  5. Update the package list by running:

    pkg update

Now, you have successfully added the repository to your NeoTerm sources.list.d/ directory.


2. Installing Package

pkg install command-not-found-neoterm

3. Editing .zshrc

This is the minimal you need in a .zshrc file for this to work properly

export COMMAND_NOT_FOUND_INSTALL_PROMPT=1
source /data/data/io.neoterm/files/usr/etc/zsh_command_not_found

4. Edit command_not_found_handler

Next:

nano $PREFIX/etc/zshrc

Then comment out every line if you wanna keep this file or just:

rm -rf $PREFIX/etc/zshrc

5. Updating commands.db

Last but not least, run:

pkg update

This will update the commands.db with your packages commands.

About

command-not-found-neoterm - ported for NeoTerm

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published