1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-31 14:17:45 +00:00
Commit graph

1194 commits

Author SHA1 Message Date
Hristo Filaretov
9ed5c60633 Add documentation and format the source files
Add a README with information on how to use the virtual environment
commands and the patterns they are based on. Also add the two new
commands to the root README table.
2021-08-05 12:56:02 +02:00
Hristo Filaretov
6def5d5517 Add Windows support for venv
As with the Conda script, a few differences have to be considered
when activating on Windows, namely that the correct env var is Path
and the directory containing the executables is "Scripts", not "bin"
2021-08-05 11:11:31 +02:00
Hristo Filaretov
9c7822aa18 Add Windows support
The path env var on Windows is Path, not PATH. This commit
includes that difference when differentiating between OS.
2021-08-05 11:11:31 +02:00
Hristo Filaretov
2b3312fc06 Add scripts for virtual environments
This commit adds two rudimentary scripts for interacting with
Conda environments and Python virtual environments created with
`venv`. Both scripts follow the same pattern: a table of new
environment variables is created via the script and the user
must activate it by loading it with `load-env`:

`load-env (conda-env name-of-env)`

The environments are deactivated by sourcing a script, which
uses `unlet-env` to remove the environment variables, and restores
the old path.

In both cases, nesting virtual environments is not supported. As
soon as an environment is activated, all information from the previous
one is overwritten.
2021-08-05 11:11:31 +02:00
Darren Schroeder
f23f784f57
Merge pull request #83 from Yethal/main
Added webscraping example
2021-08-04 16:07:08 -05:00
Grzegorz Chodzicki
f7c5557f56 Added webscraping example 2021-08-04 19:09:58 +02:00
JT
906fcefd96
Add files via upload 2021-08-03 10:50:03 +12:00
Darren Schroeder
cd89a6311f
Merge pull request #81 from skelly37/main
Create cdpath-implementation.nu
2021-08-01 13:12:55 -05:00
Kamil
9f648e7f04
Documented
I have just noticed I had not documented the script well. Now it is the final version of my idea, I guess.
2021-08-01 09:28:53 +00:00
Kamil
4e4ea71612
Update to speed up the script
I've made use of selecting just directories instead of iterating over everything in a directory, increasing the speed of execution significantly
2021-08-01 09:21:40 +00:00
Kamil
aaa843f1c5
Create cdpath-implementation.nu
If anyone knows how to write it more clearly and the script (instead of the config one) way — feel free to correct it
2021-08-01 00:40:56 +00:00
Darren Schroeder
a77a4ee652
Update README.md
just cleaned up a bit
2021-07-29 09:29:40 -05:00
Darren Schroeder
79b78e2117
Merge pull request #80 from naefl/main
make work on windows
2021-07-27 14:20:49 -05:00
naefl
4064aab0ac make work on windows 2021-07-27 15:04:58 -04:00
Darren Schroeder
c0a3fe95af
Merge pull request #79 from naefl/main
Add fuzzy commands
2021-07-26 07:54:33 -05:00
Luca Naef
d9e24137dc
Merge branch 'nushell:main' into main 2021-07-25 22:39:51 -04:00
naefl
3a1abce777 Add fuzzy scripts 2021-07-25 22:38:36 -04:00
Darren Schroeder
6e571e8d52
Merge pull request #78 from zkat/patch-1
readme for with_externals
2021-07-25 17:22:30 -05:00
Kat Marchán
43756d727a
readme for with_externals 2021-07-25 14:53:11 -07:00
Darren Schroeder
f226ee3dcf
Merge pull request #77 from zkat/patch-2
parse dates into datetimes
2021-07-25 16:50:38 -05:00
Kat Marchán
aba60c333c
Update git_branch_age.nu 2021-07-25 14:48:44 -07:00
Kat Marchán
8dd86215ed
Update git_branch_age.nu 2021-07-25 14:48:06 -07:00
Darren Schroeder
d1db74d21f
Merge pull request #76 from zkat/patch-1
Add loc.nu
2021-07-25 16:47:14 -05:00
Kat Marchán
39a6b960c5
parse dates into datetimes
This makes it so nu treats the dates as actual dates, and displays them accordingly.
2021-07-25 14:46:02 -07:00
Kat Marchán
3e6f21dad9
Create loc.nu 2021-07-25 14:42:19 -07:00
Darren Schroeder
5a4027defe
Merge pull request #75 from x3rAx/pr-separate-startup
📦 NEW: Config with separate startup script and edit commands
2021-07-21 07:09:48 -05:00
^x3ro
4e23994b5b 👌 IMPROVE: Move readme to subfolder 2021-07-21 09:56:39 +02:00
^x3ro
3784245e7e 📦 NEW: Config with separate startup script and edit commands 2021-07-21 09:40:42 +02:00
Darren Schroeder
f6a4112d03
Merge pull request #74 from dirtybit/fix-script-links
Fix broken links to scripts
2021-07-19 06:57:42 -05:00
Sertac Olgunsoylu
d1d671e5b5
Fix broken links to scripts 2021-07-19 00:35:31 -07:00
Darren Schroeder
6ecf403a19
Merge pull request #73 from efx/git-remove-file
git: remove duplicate file
2021-07-07 09:51:37 -05:00
Eli Flanagan
aa33a9edb9
git: remove duplicate file
I ran a `diff git/git_branch_cleanup.nu git/git_branch_cleanup_.nu` and
they are the same.
2021-07-07 10:11:59 -04:00
Darren Schroeder
ef65e0ea55
Merge pull request #72 from fdncred/cmd_stats
add command stats script
2021-07-03 19:26:24 -05:00
Darren Schroeder
f11f4a8545 add command stats script 2021-07-03 19:24:28 -05:00
Darren Schroeder
19fff1e2d9
Merge pull request #71 from fdncred/name_change
update maintainer name
2021-06-29 16:24:59 -05:00
Darren Schroeder
79eabeabdd update maintainer name 2021-06-29 16:24:18 -05:00
Darren Schroeder
5522c0e7fe
Merge pull request #70 from fdncred/update_trim_commands
trim works a little differently now, updating examples
2021-06-29 14:22:11 -05:00
Darren Schroeder
0bdcb7ed52 trim works a little differently now, updating examples 2021-06-29 14:21:14 -05:00
Darren Schroeder
5a16e3060e
Merge pull request #69 from fdncred/update_table_syntax
update to the new table syntax
2021-06-26 18:04:57 -05:00
Darren Schroeder
920b8be17e update to the new table syntax 2021-06-26 18:04:05 -05:00
Darren Schroeder
12c1b51e54
Merge pull request #68 from fdncred/update_maintainers
update maintainers
2021-06-26 17:55:00 -05:00
Darren Schroeder
e59db30d96 update maintainers 2021-06-26 17:54:13 -05:00
Darren Schroeder
cc103b8d70
Merge pull request #67 from kubouch/fehbg-fix
Fix unexpected token error
2021-06-22 16:55:07 -05:00
kubouch
c36abb29a5 Fix unexpected token error 2021-06-22 23:33:12 +03:00
Darren Schroeder
98a49d454f
Merge pull request #66 from fdncred/more_per_page
change per page count from 30 to 100
2021-06-21 08:43:22 -05:00
Darren Schroeder
3cfea4955a change per page count from 30 to 100 2021-06-21 08:40:19 -05:00
Darren Schroeder
7dee38fd2c
Merge pull request #65 from andrasio/plete
Add nu-command and nu-completion subcrates.
2021-06-16 15:36:37 -05:00
Andrés N. Robalino
1ddb3f76cb Add nu-completion subcrate to release Nu script. 2021-06-16 15:26:03 -05:00
Darren Schroeder
0cc76ff839
Merge pull request #64 from fdncred/update_temp
added a bogus temp command so completions work better
2021-06-09 19:59:07 -05:00
Darren Schroeder
6cb25c92c1 added a bogus temp command so completions work better 2021-06-09 19:56:27 -05:00