This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
Releases: CodesOfRishi/smartcd
Releases · CodesOfRishi/smartcd
r453.25724fd
git
is also a requirement for versioning information and for git repository root traversal feature.
r451.1b6ec9e
fix: use ANSI color code instead of `tput` for Base-Dir info
r444.c2e7c50
fix: check if `find` available or not (`fd` being checked twice)
r430.a66aaf2
perf: use string manipulation to extract exact error message in Clean…
r426.87f1522
feat: show error in color red in Clean-Log feature.
r420.8c20071
- Use
SMARTCD_EXACT_SEARCH
to enable/disable fzf exact searching. - Close #21
v4.1.0
v4.0.0
What's New
- Added Bash completion
- User can configure whether to use
find
orfd
/fdfind
command usingSMARTCD_FINDER
. - User can configure whether to use
rg
orgrep
command usingSMARTCD_GREP
. - User can assign an empty string to
SMARTCD_FZF_PREVIEW_CMD
to disable thefzf
preview.
What's New In Base-Dir Feature (with some BREAKING CHANGES!)
SMARTCD_BASE_PARENT_OPT
is renamed toSMARTCD_BASE_DIR_OPT
.SMARTCD_BASE_PARENT
is renamed toSMARTCD_BASE_DIR
SMARTCD_BASE_DIR
is NOT configurable now. By default, it will always store the 1st element of theSMARTCD_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 thesmartcd.sh
script in their shell configuration file. - Support for Homebrew has been dropped (at least for now).
SMARTCD_HIST_OPT
is renamed toSMARTCD_HIST_DIR_OPT
SMARTCD_HIST_SIZE
is renamed toSMARTCD_HIST_DIR_LOG_SIZE
SMARTCD_CLEANUP_OPT
is renamed toSMARTCD_CLEAN_LOG_OPT
Fixes
v3.3.0
What's New
- User can clean the log file (remove invalid paths) using either
-c
or--clean
option. - User can print version information using either
-v
or--version
option.
New Features
- User can manually configure option for moving to last working directory (
$OLDPWD
) using$SMARTCD_LAST_DIR_OPT
. - User can search and traverse within a particular base directory irrespective of the current working directory using either
-b
or--base
option. By default, SmartCd will search within user's$HOME
directory.- Check out
$SMARTCD_BASE_PARENT_OPT
and$SMARTCD_BASE_PARENT
for configurations.
- Check out
Major Fixes
SHA256 Checksum
399adc3358c672f2edea539416018c9680c6cab7086578bda6dc66dabed72223 smartcd.sh
v3.2.6
Minor fixes.
SHA256 Checksum
b2cab2e60c5f1c30aed761a784f7c5960584da1c820d0d2a0186e1ede8ac6dc6 smartcd.sh