logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

/executable - the Profanity /executable command.

Arguments

avatarset
           Set executable that is run by /avatar open. Use your favorite image viewer.

       avatardefault
           Restore to default settings.

       urlopenset
           Set  executable  that  is run by /url open. Takes a command template that replaces %u and %p with the
           URL and path respectively.

       urlopendefault
           Restore to default settings.

       urlsaveset
           Set executable that is run by /url save. Takes a command template that replaces %u and  %p  with  the
           URL and path respectively.

       urlsavedefault
           Use the built-in download method for saving.

       editorset
           Set editor to be used with /editor. Needs a terminal editor or a script to run a graphical editor.

       editordefault
           Restore to default settings.

       vcard_photoset
           Set  executable  that is run by /vcard photo open. Takes a command template that replaces %p with the
           path

       vcard_photodefault
           Restore to default settings.

Description

       Configure executable that should be called upon a certain command.

Examples

       /executable avatar xdg-open

       /executable urlopen set "xdg-open %u"

       /executable urlopen set "firefox %u"

       /executable urlopen default

       /executable urlsave set "wget %u -O %p"

       /executable urlsave set "curl %u -o %p"

       /executable urlsave default

       /executable vcard_photo set "feh %p"

       /executable editor set "emacsclient -t"

0.13.1                                             2023-08-03                                             man(1)

Name

       /executable - the Profanity /executable command.

Synopsis

       /executable avatar set <cmdtemplate>

       /executable avatar default

       /executable urlopen set <cmdtemplate>

       /executable urlopen default

       /executable urlsave set <cmdtemplate>

       /executable urlsave default

       /executable editor set <cmdtemplate>

       /executable editor default

       /executable vcard_photo set <cmdtemplate>

       /executable vcard_photo default

See Also