João F. (BeyondMagic/koetemagie)
498d617639
quitcd: nushell use regex to remove single quotes
2024-05-27 11:16:36 -03:00
João F. (BeyondMagic/koetemagie)
71452faa40
quitcd: fix range limits for new nushell version
2024-05-26 23:05:14 -03:00
KlzXS
b392dd3723
Added -- to all instances of cp, mv or rm dealing with user provided paths
2024-02-13 14:32:42 +01:00
João F. (BeyondMagic/koetemagie)
2a442ec30c
quitcd: fix bugs and feat. for modular export and selective quit
2024-02-10 18:59:26 -03:00
João F. (BeyondMagic/koetemagie)
eb775914af
fix nu quitcd: remove deprecated keywords
2023-12-13 21:18:29 -03:00
J-Kappes
afe84862ff
fix nu quitcd: switched quotes ( #1737 )
...
Closes: https://github.com/jarun/nnn/issues/1736
2023-09-30 16:19:01 +00:00
J. Brock
95183fbef8
quitcd.bash_zsh: make POSIX compliant; minor fixes and style changes
...
This commit makes the following changes to quitcd.bash_zsh:
- POSIX compliance and an according rename of the script
- Enforces consistent if-then statements and indentation
- Minor comment fixes
Signed-off-by: J. Brock <joseph.brock@protonmail.com>
2023-05-05 14:42:13 -04:00
Henri Bourcereau
eaffd311d4
Fix paths in nushell quitcd script
...
This set the correct path to the temp nnn file when XDG_CONFIG_HOME is set. It fixes https://github.com/jarun/nnn/discussions/1605
2023-03-07 15:40:10 +01:00
Henri Bourcereau
69882b3bff
Create quitcd script for nushell
2023-02-28 16:26:36 +01:00
Patrick
a7ce7bb36c
wrap in quotes just in case
2022-09-15 19:57:25 -07:00
Patrick
c9c74dd753
make one single invocation to test
2022-09-15 18:24:04 -07:00
Patrick
3dac035819
slightly improve and optimize n.fish
...
The expr is redundant because `test -ge` treats strings as numbers already.
2022-09-15 17:11:34 -07:00
Anomalocaridid
f2c7495f50
escape call to nnn
so nnn
can be used as an alias to n
2022-07-18 18:28:18 +05:30
Arun Prakash Jana
3f4efbefe4
Remove redundant check
...
sdfdf
2022-07-10 11:00:56 +05:30
SlIdE42
0812c7afac
quitcd script for Elvish shell > 0.17.0
2022-04-17 13:29:51 +02:00
Paolo Capriotti
4220f4e2eb
Clarify docs in the quit-on-cd wrapper
2022-04-06 17:28:12 +02:00
Arun Prakash Jana
2f6c180433
Improve docs in cd on quit scripts
2021-09-29 19:16:58 +05:30
Arun Prakash Jana
f6856f61f7
Allow specifying output file in NNN_TMPFILE for cd on quit
2021-07-25 07:03:09 +05:30
Arun Prakash Jana
b54fc95c43
Remove obsolete options
2020-11-27 18:29:04 +05:30
basbebe
0a318bd411
add 'wraps' attribute to allow autocompletion ( #606 )
2020-05-29 20:28:59 +05:30
Rami3L
45a69f1cbf
Fix: BSD expr syntax error on empty $NNNLVL ( #546 )
2020-05-02 09:44:19 +05:30
Arun Prakash Jana
77e3183467
Merge quitcd scripts for bash and zsh
2020-02-29 18:36:47 +05:30
Arun Prakash Jana
3c69e6ccac
Guard against empty
2020-01-12 00:26:03 +05:30
Arun Prakash Jana
c24efdbedb
Simplify QuitCD scripts
2019-12-19 18:33:27 +05:30
Arun Prakash Jana
f231c35ef9
Update docs
2019-11-30 02:21:59 +05:30
Vidar Holen
1bf49c80e7
Some of the shell script fixes as per discussion ( #389 )
...
* Improved completion support for files with spaces
Filenames with spaces, both generally and for session names, will now
complete as expected.
* Misc shell script improvements
See discussion on:
1cca9e4b72
2019-11-26 18:06:31 +05:30
Arun Prakash Jana
1cca9e4b72
shellcheck fixes
2019-11-22 11:13:34 +05:30
Arun Prakash Jana
be65fe4ccf
Add examples of conflicting keybinds
2019-11-21 02:23:02 +05:30
Mischievous Meerkat
11204d09d5
Update quitcd.csh
2019-11-18 12:10:50 +05:30
Arun Prakash Jana
f4acfc7a4e
Block nesting of nnn instances
2019-11-17 14:33:30 +05:30
Arun Prakash Jana
d1d491c102
Fix #350 : cd on quit if NNN_TMPFILE is set
2019-10-11 23:19:25 +05:30
Pavel Fokin
66fa6fc682
Combine 'XDG_CONFIG_HOME' and 'HOME` in quitcd.fish
2019-07-10 15:56:17 +03:00
Pavel Fokin
17bb57263c
Add forgotten export for quitcd scripts
2019-07-09 22:51:25 +03:00
Pavel Fokin
56b6f70634
Update quitcd snippet for 'fish'
2019-07-09 07:09:19 +03:00
Pavel Fokin
34ecf3ce13
Fix quitcd snippets for 'zsh' and 'bash'
2019-07-08 20:29:32 +03:00
Arun Prakash Jana
794a0e2709
Move scripts to misc
2019-06-17 07:04:42 +05:30
Arun Prakash Jana
e2cde6c325
Change name to scripts directory
2017-09-02 11:15:10 +05:30
Arun Prakash Jana
5619ef4436
Simplify argument handling
2017-06-30 05:27:25 +05:30
Arun Prakash Jana
889500b057
Set detail view mode as default, introduce light mode
2017-06-06 21:01:28 +05:30
Arun Prakash Jana
bac4c27191
Update scripts
2017-04-29 19:20:00 +05:30
Arun Prakash Jana
01c1ef6e58
Support cd on quit
2017-04-20 17:33:54 +05:30