Commit Graph

200 Commits

Author SHA1 Message Date
0xacx
32538e58a9
rename variable for clarity
Co-authored-by: Rafael Xavier de Souza <rxaviers@gmail.com>
2023-05-09 18:49:39 +03:00
Tomáš Horňák
4daa2571ad fix: multiline file prompt input 2023-04-15 02:17:41 +02:00
0xacx
42d82b9d65
Merge pull request #85 from 0xacx/improve-UI
Make processing label disappear once response is received, enable glo…
2023-04-11 22:42:34 +03:00
Achilleas
9e9833783d Make processing label disappear once response is received, enable glow markdown rendering with color 2023-04-11 22:41:49 +03:00
0xacx
de8aaaa496
Update README.md 2023-04-10 17:05:54 +03:00
0xacx
de8f5f7c3e
Update README.md 2023-04-10 16:53:39 +03:00
Achilleas
8f7e257b27 Merge branch 'main' of https://github.com/0xacx/chatgptcli 2023-04-10 16:46:33 +03:00
Achilleas
47efb56308 Improve command generation prompt 2023-04-10 16:46:22 +03:00
0xacx
fee7efff4a
Update README.md 2023-04-10 14:53:15 +03:00
0xacx
a09bcf3c56
Update README.md 2023-04-10 14:43:15 +03:00
0xacx
35a67acc24
Update README.md 2023-04-10 14:37:05 +03:00
Achilleas
939f09cef7 Update comment 2023-04-08 20:35:21 +03:00
0xacx
f49ec79a65
Merge pull request #63 from emirkmo/add_zshrc
Add .zshrc to install script, since it was missing.
2023-04-08 20:34:08 +03:00
0xacx
2bd33ab7b7
Update README.md 2023-04-08 17:46:50 +03:00
0xacx
63aa4e4c8f
Update README.md 2023-04-08 17:36:34 +03:00
0xacx
752d7b38ce
Merge pull request #81 from 0xacx/add-markdown-support
Print with markdown if glow is installed
2023-04-08 17:29:27 +03:00
Achilleas
5fed80d6fa Print with markdown if glow is installed 2023-04-08 17:28:02 +03:00
Achilleas
762704073f Add newline 2023-04-08 16:43:41 +03:00
0xacx
50e58e5d93
Update README.md 2023-04-08 16:11:36 +03:00
0xacx
12093e93e9
Update README.md 2023-04-08 16:08:39 +03:00
0xacx
2d690ea5f1
Merge pull request #80 from 0xacx/support-kitty-term-image-view
Support kitty term image view
2023-04-08 15:41:48 +03:00
Achilleas
d11cb84082 add silent curl option, update comment 2023-04-08 15:40:48 +03:00
0xacx
8fee75482d
Merge pull request #59 from RexAckermann/main
Adding image preview support for kitty terminal linux.
2023-04-08 15:36:40 +03:00
0xacx
d0446e2453
Merge pull request #79 from 0xacx/add-help-command
Add help command
2023-04-08 15:22:52 +03:00
Achilleas
ff85604e52 Update help menu and key not found message 2023-04-08 15:22:06 +03:00
0xacx
3e4c290f54
Merge pull request #68 from TobiasLaving/main
Small usability improvements
2023-04-08 15:02:49 +03:00
0xacx
586e5ac643
Merge branch 'add-help-command' into main 2023-04-08 15:01:18 +03:00
0xacx
e777711e42
Merge pull request #77 from 0xacx/add-processing-label
add processing when sending request
2023-04-08 14:22:27 +03:00
Achilleas
d72b052b8a add processing when sending request 2023-04-08 14:21:17 +03:00
0xacx
3f13f0a5b9
Merge pull request #76 from 0xacx/wrap-output-to-term-width
Wrap output to term width
2023-04-08 13:56:22 +03:00
Achilleas
f98a76e2d5 Apply output wrapping to other models and command generation 2023-04-08 13:55:45 +03:00
0xacx
9598414eca
Merge pull request #75 from nre-ableton/nre/main/wrap-output
Wrap output to terminal width
2023-04-08 13:52:54 +03:00
nre
e44cf0cdce Wrap output to terminal width 2023-04-04 13:53:45 +02:00
Rex Ackermann
9f8b324f9c
Update install.sh
Small correction.
2023-03-29 17:50:48 +06:00
Rex Ackermann
4bb43eaa81
ImageMagick for kitty icat
Automatically download ImageMagick(magick) in terminal is kitty for icat support
2023-03-29 17:41:19 +06:00
0xacx
ea415904e7
Merge pull request #64 from emirkmo/modify-path-optionally
Only prepend /usr/local/bin to $PATH if its not already there.
2023-03-29 12:06:37 +03:00
Tobias Laving
5b7787e189 Add usage function 2023-03-28 16:45:35 +02:00
Tobias Laving
525bdbaef4 Add check for OPENAI_KEY env variable 2023-03-28 16:30:02 +02:00
Emir Karamehmetoglu
10cecb42d2
Fix inverted logic for checking if path has usr/local/bin 2023-03-27 19:35:22 +02:00
0xacx
f33fe3752f
Update README.md 2023-03-27 14:13:32 +03:00
Emir Karamehmetoglu
58feb2fdc9
Only prepend /usr/local/bin to $PATH if its not already there.
As many commons scripts already add it to path, we do not want to overwrite these.

For example brew or conda might have preferences for this not being the first entry, but might already add it. So do not overwrite the path with such a destructive choice if we can already find /usr/local/bin in Path
2023-03-27 13:13:32 +02:00
Emir Karamehmetoglu
1b352249ca
Add .zshrc to install script
Add check for `.zshrc` after `.zprofile` to enable installing on a wider linux platform base. Also Make it so that `$PATH` is not modified if `usr/local/bin`lready exists on path in `.zshrc`.

The install script fails if there is only .zshrc but no .zprofile. This is a common setup as .zshrc is actually the place to declare packages etc. for use in any interactive shell and .zprofile is supposed to be only for login shells: [See unix.stackexchange discussion](https://unix.stackexchange.com/questions/71253/what-should-shouldnt-go-in-zshenv-zshrc-zlogin-zprofile-zlogout).
2023-03-27 13:03:52 +02:00
Rex Ackermann
3860335207
Update chatgpt.sh
Add support for kitty icat image preview on kitty terminal.
2023-03-26 12:01:51 +06:00
0xacx
a6f6c20022
Update README.md 2023-03-25 22:19:44 +02:00
0xacx
34c809111f
Merge pull request #58 from 0xacx/Enable-response-formatting-in-history
Cleanup debug log
2023-03-24 18:04:42 +02:00
Achilleas
706b4d2ea4 Cleanup debug log 2023-03-24 18:03:40 +02:00
0xacx
6fc4698301
Merge pull request #53 from 0xacx/Enable-response-formatting-in-history
Add formatted response data to history
2023-03-24 16:37:20 +02:00
Achilleas
c3681f6cdc Use local var, update comments 2023-03-24 16:36:22 +02:00
0xacx
10cb481472
Update README.md 2023-03-20 23:14:33 +02:00
Achilleas
df84188051 Add to formatted data to history 2023-03-20 18:52:52 +02:00