You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User can configure whether to use find or fd/fdfind command using SMARTCD_FINDER.
User can configure whether to use rg or grep command using SMARTCD_GREP.
User can assign an empty string to SMARTCD_FZF_PREVIEW_CMD to disable the fzf preview.
What's New In Base-Dir Feature (with some BREAKING CHANGES!)
SMARTCD_BASE_PARENT_OPT is renamed to SMARTCD_BASE_DIR_OPT.
SMARTCD_BASE_PARENT is renamed to SMARTCD_BASE_DIR
SMARTCD_BASE_DIR is NOT configurable now. By default, it will always store the 1st element of the SMARTCD_BASE_PATHS array.
SMARTCD_BASE_PATHS is an array which can be used to store multiple base directory paths. The 1st element of the array will always be used as base.
By default, the user can use CTRL-k keystroke to select & change the base directory to use (for the current shell).
This keystroke can be configured using SMARTCD_BASE_DIR_KEYBIND env, which defaults to \\C-k, i.e., CTRL-k.
BREAKING CHANGES!
Just downloading & sourcing the smartcd.sh script won't work now. The user needs to clone the repository & then source the smartcd.sh script in their shell configuration file.
Support for Homebrew has been dropped (at least for now).
SMARTCD_HIST_OPT is renamed to SMARTCD_HIST_DIR_OPT
SMARTCD_HIST_SIZE is renamed to SMARTCD_HIST_DIR_LOG_SIZE
SMARTCD_CLEANUP_OPT is renamed to SMARTCD_CLEAN_LOG_OPT