Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 754 Bytes

File metadata and controls

27 lines (20 loc) · 754 Bytes

Problem

After quiting StumpWM, your shell command history is gone. This simple plugin saves the lisp stumpwm::*input-shell-history* to the contents of special variable *shell-command-history-file* (default to: ~~/.stumpwm.d/shell-history~) and loads it again when starting StumpWM.

Usage

Add this to your .stumpwmrc (your main configuration file):

Load contrib module:

(load-module "shell-command-history")

You can customize the shell history file’s path:

(setf shell-command-history:*shell-command-history-file*
      "/home/cage/.cache/stumpwm/shell-command-history")

NOTE

This code is derived from command-history © Arjen Dijkstra, released under GPLv3