3.5 -> 4.0
This commit is contained in:
parent
96d83574a0
commit
839bc273c8
4 changed files with 38 additions and 34 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1 +1,5 @@
|
||||||
**/__pycache__
|
**/__pycache__
|
||||||
|
docs/help
|
||||||
|
image/
|
||||||
|
util/loggersrc/
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
3.5
|
4.0
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#See what's new after opening your terminal
|
#See what's new after opening your terminal
|
||||||
|
|
||||||
echo -n "Shellnotes is running version 3.5 for the first time.\nWant to see what's new?(Y/N): " && read show
|
version="4.0"
|
||||||
|
|
||||||
|
echo -n "Shellnotes is running version $version for the first time.\nWant to see what's new?(Y/N): " && read show
|
||||||
|
|
||||||
case $show in
|
case $show in
|
||||||
y | yes | Y | Yes | YES )
|
y | yes | Y | Yes | YES )
|
||||||
|
|
62
whatsnew.txt
62
whatsnew.txt
|
@ -1,36 +1,36 @@
|
||||||
Shellnotes 3.5 Updates
|
Shellnotes 4.0 Changelog
|
||||||
6/7/2021
|
20/8/2023
|
||||||
|
|
||||||
|
Total Changes: 73
|
||||||
|
|
||||||
Additions:
|
Additions:
|
||||||
|
|
||||||
- `notegrep`: new command for manipulating notes with grep's tools
|
- **SnE**: The new default text editor for the `newnote` & `readnote` commands. Written in python, it is lightweight and safe.
|
||||||
- Added parameters and improved `quickread`
|
-SnE (Shellnotes Notes Editor) and its requirements (requirements.txt) will be installed alongside shellnotes.
|
||||||
- Added the set-defaults.sh log as an option in the logfile viewer (`shellnotes -l`).
|
-You can choose from a vast amount of tools to manipulate your notes, like notegrep.
|
||||||
- `shellnotes -i` or `--info`: Information about your shellnotes copy
|
-It has built-in features like spell checking and text-to-speech.
|
||||||
- Added manpages for hidden commands (`clearlogs`, `resetshellnotes`)
|
-You can applly different themes to match it to your liking.
|
||||||
- `resetshellnotes -f` or `--force`: Avoid prompt when resetting shellnotes.
|
-You can paste your Notes on pastebin or on Github as Gists (you'll need a Github API Token, which you can set using `shellnotes -ght`).
|
||||||
|
-SnE uses the loguru module to save logfiles that contain information your sessions, which you can view with `shellnotes -l`.
|
||||||
|
You can always change the default editor using `shellnotes -sd`.
|
||||||
|
|
||||||
|
-New listnotes option: You can now view each and every one of your notes in your Notes folder via the `listnotes --view` or `listnotes -v` command. It basically runs `less` inside of your Notes folder.
|
||||||
|
|
||||||
|
- `rmdups`: A new command that uses `awk` to safely remove duplicate lines in a note. Use with caution.
|
||||||
|
|
||||||
|
- `clipnote`: You are now able to paste the contents of your clipboard to a new note instantly, or, by using `-r`/`--reverse` as a parameter, take the text from the note and copy it to your clipboard. This new command takes advantage of the `xclip` package.
|
||||||
|
|
||||||
|
- Command autocompletion & file suggestions: `delnote`, `listnotes`, `newnote`, `notegrep`, `notewc`, `quickread`, `readnote` and `renamenote` can now suggest the user possible options (arguments) and/or list the user's notes when the `<Tab>` key is pressed after the command is typed.
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
||||||
- Fixed clearlogs.sh generating empty logfiles inside `/exec`
|
- Logfiles are no longer duplicated inside `util/`
|
||||||
- Fixed bug #116 `-DynamicOutputBug`: "listnotes -d output generates autoscroll, instead of starting from where the command was executed."
|
|
||||||
- Fixed "\n" input resulting in an error
|
|
||||||
- Fixed auto-update illegal math bug
|
|
||||||
- Fixed not returning to previous directory bug
|
|
||||||
- Fixed bug #72 `-WithoutStringBug`: "If there are no matches in the input, "notegrep -ws" will display the file as is."
|
|
||||||
|
|
||||||
Updates & Changes:
|
Updates & Changes:
|
||||||
|
|
||||||
- Reorganized scripts under `util/`
|
- Optimized hidden commands
|
||||||
- Optimized the install script (`install.sh`)
|
- Updated documentation (fixed grammar and spelling mistakes, removed unnecessary details, add new info for SnE)
|
||||||
- Enhanced all manpages
|
- Updated install.sh and uninstall.sh to support SnE & new commands.
|
||||||
- New logging method: Logging directly from executables, in order for the process to take less time (clears logfiles with same method)
|
|
||||||
- Updated Documentation
|
|
||||||
- Reorganized the logfile system
|
|
||||||
- Removed syntax files (stored in `util/.syntax/`)
|
|
||||||
- Changed `listnotes` output: It's more traditional now
|
|
||||||
- Renamed `noteinfo` to `notewc` as it uses the `wc` command & changed its output
|
|
||||||
- `resetshellnotes` now resets the user's shell
|
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
|
@ -42,14 +42,12 @@ Notes:
|
||||||
|
|
||||||
(Ignore the 80's ASCII art.)
|
(Ignore the 80's ASCII art.)
|
||||||
|
|
||||||
Welcome to shellnotes 3.5!
|
Welcome to shellnotes 4.0!
|
||||||
|
|
||||||
This version brings many bug fixes as well as additions for shellnotes!
|
It's been a while.
|
||||||
Starting with the main feature of the update, `notegrep` is a tool that can be used on a daily basis. It simply uses grep to change the way you read your notes. You can experiment this new tool as well as a variety of options (split-character, without-character, multiple patterns and files and more).
|
I haven't had the time to work on this project, since many personal issues and responsibilities use most of my time. After almost three years, however, we're back with another update. Shellnotes 4 introduces new tools and commands such as `clipnote`, `rmdups` and `SnE`; a new GUI text editor for your notes. It also enhances the user's experience with command autocompletion and file suggestions for most commands. Try experimenting with it!
|
||||||
The biggest improvement of 3.5 must be `quickread`. There are some new parameters you can play with, or you can just test its new error-handling ability.
|
I feel like this project is getting bigger than it should. All the main features of shellnotes have been covered quite a long time ago, however I always try and add as many new stuff as possible. I learn a lot of new things in the process but, after all, the project ends up being overcomplicated and hard to maintain. Few people use it anyway.
|
||||||
Let's not forget the bug fixes: It's even safer to use shellnotes without worrying about errors occuring.
|
If I have enough time in the next months I will try and rewrite the main parts of shellnotes and optimize the program as much as possible, as it looks really messy and non-professional. I don't really think there's much more to add to it and I think I should move on.
|
||||||
And last, shellnotes is now way faster than before. Instead of compiling loggers on the go, shellnotes uses pre-existing executables to speed up the process.
|
In any case, I'll try and have as much fun as possible.
|
||||||
|
|
||||||
Still don't know what's going on? Read the manpages! By the way, the manpages got updated as well...
|
|
||||||
|
|
||||||
Have fun taking notes!
|
Have fun taking notes!
|
Loading…
Reference in a new issue