Options

Sidebar

  • Lunacolors
  • Introduction
  • Completions
  • Frequently Asked Questions
  • Getting Started
  • Options
  • Features
  • Runner Mode
  • Notification
  • Signals
  • Signal
  • Command
  • Hilbish
  • Vim Mode
  • Actions
  • Module bait
  • Module terminal
  • API
  • Module fs
  • Module commander
  • Module snail
  • Module hilbish.aliases
  • Module hilbish.abbr
  • Module hilbish
  • Module hilbish.userDir
  • Module hilbish.messages
  • Module hilbish.runner
  • Module hilbish.history
  • Module hilbish.jobs
  • Module hilbish.editor
  • Module hilbish.module
  • Module hilbish.os
  • Module hilbish.completion
  • Module hilbish.timers
  • Module dirs
  • Nature
  • Module doc

Options

Opts are simple toggle or value options a user can set in Hilbish. As toggles, there are things like autocd or history saving. As values, there is the motd which the user can either change to a custom string or disable.

Opts are accessed from the hilbish.opts table. Here they can either be read or modified

autocd

Value: boolean

Default: false

The autocd opt makes it so that lone directories attempted to be executed are instead set as the shell’s directory.

Example:

~/Directory                                     
∆ ~
~                                                                             
∆ Downloads
~/Downloads                                                                   
∆ ../Documents
~/Documents                                                                   

history

Value: boolean

Default: true

Sets whether command history will be saved or not.


greeting

Value: boolean or string

The greeting is the message that Hilbish shows on startup (the one which says Welcome to Hilbish).

This can be set to either true/false to enable/disable or a custom greeting string.


motd

Value: boolean

Default: true

The message of the day shows the current major.minor version and includes a small range of things added in the current release.

This can be set to false to disable the message.


fuzzy

Value: boolean

Default: false

Toggles the functionality of fuzzy history searching, usable via the menu in Ctrl-R. Fuzzy searching is an approximate searching method, which means results that match closest will be shown instead of an exact match.


notifyJobFinish

Value: boolean

Default: true

If this is enabled, when a background job is finished, a notification will be sent.