Skip to content

Releases: CodesOfRishi/smartcd

r453.25724fd

27 Feb 10:50
Compare
Choose a tag to compare
  • git is also a requirement for versioning information and for git repository root traversal feature.

r451.1b6ec9e

21 Jan 09:50
Compare
Choose a tag to compare
fix: use ANSI color code instead of `tput` for Base-Dir info

r444.c2e7c50

18 Jan 14:02
Compare
Choose a tag to compare
fix: check if `find` available or not (`fd` being checked twice)

r430.a66aaf2

17 Jan 11:14
Compare
Choose a tag to compare
perf: use string manipulation to extract exact error message in Clean…

…-Log feature

Use string manipulation to extract the main message from builtin cd error in Clean-Log feature.

r426.87f1522

17 Jan 07:32
Compare
Choose a tag to compare
feat: show error in color red in Clean-Log feature.

r420.8c20071

16 Jan 08:10
Compare
Choose a tag to compare
  • Use SMARTCD_EXACT_SEARCH to enable/disable fzf exact searching.
  • Close #21

v4.1.0

15 Jan 06:49
Compare
Choose a tag to compare
  • Code Optimizations
  • zsh completion is now out of the box (Closes #11).
  • Fix #20
  • Fix #22

v4.0.0

13 Jan 17:46
Compare
Choose a tag to compare

What's New

  • Added Bash completion
  • 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

Fixes

v3.3.0

09 Jan 14:44
Compare
Choose a tag to compare

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.

Major Fixes

SHA256 Checksum

399adc3358c672f2edea539416018c9680c6cab7086578bda6dc66dabed72223  smartcd.sh

v3.2.6

07 Jan 14:04
Compare
Choose a tag to compare

Minor fixes.

SHA256 Checksum

b2cab2e60c5f1c30aed761a784f7c5960584da1c820d0d2a0186e1ede8ac6dc6  smartcd.sh