Clifm 1.21 (Lemonhead)
Get distro-specific binary packages from the OpenSUSE Build System
Bug fixes 🪲 🐛
TimeFollowsSort
andTimestampMark
are missing inconfig dump
.- $XDG_DATA_HOME ignored when setting the trash directory.
- Memory leak when trashing files and the trash info file cannot be opened.
- When
PrintDirCmds
is unset, it is marked as modified by 'config dump'. - Image previews not working on Kitty terminal.
- Double confirmation prompt when removing write-protected files from the trash can.
- The
mime_list.sh
plugin is broken. - The
mime import
command fails to import lines with a MIME type containing dots. - Cannot auto-open/autocd files starting with
#
and containing characters that need to be escaped (e.g. "#%${}", etc). - Completions/suggestions not working in chained commands.
- Query string ignored when untagging files (TAB completion).
- The
-E
option prints garbage next to ELN's on some terminals. - The
fzfhist.sh
plugin (bound to theh
action name) lists timestamps along with history commands. - Out of date files list after unmounting remote.
- Suggestion not removed after pressing Enter.
- Fix columns/colors issue in the
pager.sh
plugin (gg
).
New features/Improvements 😎
- Ask for confirmation when trashing files (enable by setting
TrashForce
to false in the config file). - Allow sorting files by file type (including executable files and file extensions):
st type
. - Sort user and group by names, not numbers, if using ID names in
long-view
. - Increase the number of bindable plugins from 4 to 16.
- Read CLIFM_COLUMNS and CLIFM_LINES from the environment.
- Export status values (as environment variables) when running plugins. Consult the ENVIRONMENT section of the manpge for more information.
- The following environment variables are now set only when running a plugin: CLIFM_PLUGINS_HELPER, CLIFM_SELFILE, CLIFM_PROFILE, and CLIFM_COLORLESS.
- Plugins are disabled in
secure-cmds
mode (it just makes sense). - Sanitize aliases when running in
secure-cmds
mode. - New alternative color notation for the prompt:
%{color}
. See the new prompts file for details. - Allow the use of 3-digit HEX colors (e.g.
#ef0
amounts to#eeff00
). - New plugin: file_picker.sh (removed old file_picker shell functions). See this issue for a concrete usage example.
- Implement fish-like abbreviation of the current directory in the prompt via the
\f
prompt code. Consult the prompts file for details. - Implement prompt modules (via
${module}
). Consult the prompts file for details. - Use the
\b
prompt code to print the execution time of the last command. Consult the prompts file for details. - Add support for right prompts.
- New prompt (
pez
), implementing the new fish-like path abbreviation. - New prompt (
git
), implementing the new prompt modules feature. - New prompt (
timer
), implementing the new\b
prompt code (last command execution time). - New prompt (
info
), implementing a right prompt. --max-path
andMaxPath
are deprecated in favor of the CLIFM_PROMPT_P_MAX_PATH environment variable.- Workspace expansion via the
w:
construct. Example:c 2 w:3
to copy the file whose ELN is 2 to the third workspace. - Make
history show-time
list timestamps and commands on the same line.