id = "blesh" name = "ble.sh" homepage = "https://github.com/akinomyoga/ble.sh" description = "Bash Line Editor: a full-featured line editor written in pure Bash, replacing the GNU Readline default." executables = ["ble.sh"] platforms = ["macos", "linux"] [dotfiles] # ble.pp, ble/base/load-rcfile: # _ble_base_rcfile=$HOME/.blerc; [[ -f $_ble_base_rcfile ]] || # _ble_base_rcfile=${XDG_CONFIG_HOME:-$HOME/.config}/blesh/init.sh # — ~/.blerc first, then the XDG location, which the README states the same # way ("ble.sh reads user settings from ~/.blerc or # ${XDG_CONFIG_HOME:-$HOME/.config}/blesh/init.sh if the former is # unavailable"). [configHome] is the second of those: the tool reads # $XDG_CONFIG_HOME itself, on macOS as well as Linux. paths = [ "~/.blerc", "[configHome]/blesh/init.sh", ] # ble.sh compiles itself into a cache directory and keeps session state # separately; ble.pp reads ${XDG_CACHE_HOME:-$HOME/.cache} for the first and # ${XDG_STATE_HOME:-$HOME/.local/state} for the second, and the README's # uninstall section names both. [xdgCache] is the cache one; there is no root # name for $XDG_STATE_HOME, so that one is spelled out. exclude = [ "[xdgCache]/blesh/", "~/.local/state/blesh/", ] # bleopt settings, key bindings and colour faces. No account, no credential. secret = [] # No machine_lines: the file is `bleopt`, `ble-bind` and `ble-face` calls — # key bindings and colours, which are the settings a user wants to carry.