Releases: CodesOfRishi/navita
Releases · CodesOfRishi/navita
Navita - 2.3.10
- Few refactors.
Navita - v2.3.9
- Add conditional print statements to notify users only when a data or configuration file or directory is successfully created.
- Ensure the script returns immediately if an error occurs while creating Navita's data or configuration files and directories.
Navita - v2.3.8
- Add Exit status information in the help message.
- Return correct Exit code when no directory match is found.
- Return relevant Exit code for invalid sub-option with
-H
and--history
.
Navita - v2.3.7
- Execute Bash program directly in FZF preview during Tab completion, avoiding potential issues with aliases and functions.
Navita - v2.3.6
- Simplify and enhance full history clean-up to create timestamped backup history files in the format
navita-history-YYYY-MM-DDTHH:MM:SS.bak
for improved backup management. - Fallback to standard Bash completions if no directory path match is found in Bash.
Navita - v2.3.5
- Close #1: Update
NAVITA_DATA_DIR
default to useXDG_STATE_HOME
overXDG_DATA_HOME
# To move previous data files from previous/old data directory to the new data directory # and remove the Navita's previous/old data directory mv path/to/old/data/dir/navita/* $NAVITA_DATA_DIR/. mv path/to/old/data/dir/navita/.* $NAVITA_DATA_DIR/. rmdir path/to/old/data/dir/navita
- Fix #2: In Zsh, the >> operator prevents creation of the ignore file.
- Override
noclobber
option when redirecting output to files.
Navita - v2.3.4
- Removed dependency on
head
anddirname
commands to reduce external command calls. - Implemented a fix to accurately return the exit code of the
flock
command. - Other refactors related to global variables.
Navita - v2.3.3
$NAVITA_DATA_FILE/temp-history
and$NAVITA_DATA_FILE/navita_age_last_check
files can be removed, since there's no use of it now.# remove the obsolete data files rm $NAVITA_DATA_FILE/temp-history $NAVITA_DATA_FILE/navita_age_last_check
- Override
noclobber
option when redirecting output to utility/data files. - Employ a locking mechanism to ensure atomic history updates, preventing race conditions that may arise from concurrent modifications.
- Use consistent and conventional exit statuses. The following exit statuses are being used:-
- 0 : Success.
- 1 : General Error.
- 64 : The command was used incorrectly, e.g., with the wrong number of arguments, a bad flag, a bad syntax in a parameter, or whatever.
- 65 : The user's input data was incorrect in some way.
- 69 : A service is unavailable. This can occur if a support program or file does not exist.
- 75 : Temporary failure, indicating something that is not really an error. The request should/can be reattempted later.
Navita - v2.3.2
- Optimize Navita by removing the
date
command dependency, thereby avoiding subprocess creation and making it faster. - A few code refactors.
Navita - v2.3.1
- Remove
cut
dependency as it's no longer being used. - In the
$NAVITA_IGNOREFILE
file, keep the regex pattern matching for the home directory before the .git directory. This ensures that the home directory is matched first, as it's typically accessed more frequently than .git directories.