Arun Prakash Jana
da73d9ada9
Merge pull request #1971 from doremiyeon/xreadline_by_word_movement
...
xreadline by word movement
2025-01-05 22:15:56 +05:30
Arun Prakash Jana
e59b83d4d9
Merge pull request #1978 from N-R-K/custom-trashcmd
...
add support for custom trash command
2025-01-05 22:11:41 +05:30
NRK
d07dde54ae
fix patch
2025-01-05 15:12:26 +00:00
NRK
e787ae4501
add support for custom trash command
...
this makes it so that if $NNN_TRASH is set to a string other
than "1" or "2" then it is accepted as the trash command to run.
this allows us to support arbritary trashing utilities while
also maintaining backwards compatibility for older "1" & "2"
values.
Fixes: https://github.com/jarun/nnn/issues/1168
Fixes: https://github.com/jarun/nnn/discussions/1963
Fixes: https://github.com/jarun/nnn/discussions/1960
Fixes: https://github.com/jarun/nnn/discussions/1761
2025-01-05 01:10:01 +00:00
Arun Prakash Jana
5522292014
Merge pull request #1973 from peter15914/fix-abspath-retval
...
Check NULL from abspath()
2024-12-19 22:18:04 +05:30
Peter Zmanovsky
a23861332a
Check NULL from abspath()
...
abspath() returns NULL in some cases and its return value is always checked for NULL.
2024-12-19 12:26:32 +05:00
Arun Prakash Jana
ef6e00c85c
Merge pull request #1972 from thermosflasche/patch-1
...
fix: Lock threads
2024-12-19 00:39:16 +05:30
Bruno Tendler
b6abe95870
fix: Lock threads
2024-12-17 16:53:30 -03:00
NRK
942afdf445
make Ctrl+w in xreadline similar to readline's
...
when there's multiple spaces, the previous logic didn't erase
them, e.g:
a word | < before
a word | < after Ctrl-w
this patch brings the behavior closer to readline's:
a word | < before
a | < after Ctrl-w
this also slightly changes the behavior since '/' is no longer
considered a boundary.
2024-12-16 14:46:28 +00:00
k-pop connoisseur
d6b1b80e40
extend xreadline() with some by-word movement
...
added M-b, M-f, M-d, M-bspc according to GNU readline specifications.
2024-12-16 08:52:18 +00:00
Arun Prakash Jana
f87104dd40
Merge pull request #1969 from doremiyeon/us1968_session_restore_fix
...
fix 's r' session restore #1968
2024-12-13 21:10:01 +05:30
k-pop connoisseur
395068dac8
fix 's r' session restore #1968
2024-12-13 02:19:21 +01:00
Arun
5e5a17f954
Merge pull request #1965 from smithbh/master
...
Fixes typo in man doc
2024-12-04 03:51:47 +05:30
Brandon Smith
80316c2b8c
Merge branch 'jarun:master' into master
2024-12-03 14:33:58 -06:00
Brandon Smith
0f2a932434
Fixes typo in man doc
...
- Previous commit accidentally removed the formatting character.
Signed-off-by: Brandon Smith <smithbh@me.com>
2024-12-03 14:29:43 -06:00
Arun
575c8d9065
Merge pull request #1962 from wassup05/gpgs-gpgv
...
adds plugins gpgs and gpgv
2024-12-02 20:40:32 +05:30
Brandon Smith
a5bf6e930a
Fixes minor typo
...
Signed-off-by: Brandon Smith <smithbh@me.com>
2024-11-30 17:47:40 -06:00
supritsj@Arch
3c43564182
use "xarg -0" instead of trim
2024-11-26 19:29:10 +05:30
supritsj@Arch
1e1abdfb31
added plugins gpgs and gpgv
2024-11-26 15:14:43 +05:30
Arun
3ca56e3430
Merge pull request #1956 from roygbyte/doc/du-mode
...
Use consistent language for disk mode in manual
2024-11-15 10:16:29 +05:30
Scarlett McAllister
2504a04ddd
Use consistent language for disk mode in manual
2024-11-14 11:21:13 -04:00
Arun
9db87a782c
Merge pull request #1953 from N-R-K/fix-fortify-abortion
...
fix crash under _FORTIFY_SOURCE
2024-11-12 10:17:12 +05:30
NRK
43c69abbac
fix crash under _FORTIFY_SOURCE
...
when built with _FORTIFY_SOURCE it will check whether the buffer
has as much space as the argument passed to snprintf:
7b544224f8/debug/snprintf_chk.c (L28-L29)
this results in some false positives when the snprintf provided
len argument is bigger than the buffer size (but the result
would have fit into the buffer anyways).
fix this by passing the proper size to snprintf as argument.
(the +1 len isn't necessary, but add it just in case.)
Fixes: https://github.com/jarun/nnn/issues/1931
2024-11-11 20:07:25 +00:00
Desmond Kabus
d17df60c4a
O_EMOJI: Add more emoji icons ( #1950 )
2024-11-08 15:44:36 +00:00
Arun Prakash Jana
ab375de725
Suffix the current context with * in help
2024-11-05 21:36:54 +05:30
Arun
f762b3dc0c
Merge pull request #1948 from babbaj/fix-sigpipe
...
restore sigpipe handler in plugin child processes
2024-11-05 06:30:54 +05:30
Babbaj
b67c7d71e6
restore sigpipe handler in plugin child processes
2024-11-04 19:04:47 -05:00
Arun
877d7c0687
Merge pull request #1946 from N-R-K/lzip
...
add icon for lzip files
2024-10-24 19:49:48 +05:30
NRK
1876e4cc10
add icon for lzip files
2024-10-24 04:46:28 +00:00
Arun Prakash Jana
614ebe73fa
Fix patch break
2024-10-02 20:07:34 +05:30
Arun Prakash Jana
1a849f1847
Show session name in help
2024-10-02 19:47:55 +05:30
Arun Prakash Jana
00fb7b6f6b
Add option to show (non-aut) current session name while saving
2024-10-02 19:37:38 +05:30
Arun Prakash Jana
0c4a4e2b21
Add support for 16 prompt commands history
2024-09-29 21:06:43 +05:30
Arun Prakash Jana
6b15af2be5
Show F for filter mode when not active
2024-09-24 21:45:17 +05:30
Arun Prakash Jana
e7b0974551
Address lint reports
2024-09-24 16:56:11 +05:30
Arun
2bb76a0e38
Merge pull request #1937 from amalgame21/type-to-nav-indicator
...
Indicate type-to-nav mode with symbol F
2024-09-24 16:49:27 +05:30
amalgame21
c291932d87
indicate type-to-nav mode (with symbol F) after pressing ESC in type-to-nav mode
2024-09-24 17:47:04 +08:00
Arun
b9ff745fd2
Merge pull request #1935 from kovmir/fix-terminal-priority
...
Do not default to `xterm`
2024-09-24 03:49:49 +05:30
Ivan Kovmir
28c85043a0
Do not default to xterm
...
It makes more sense to default to the terminals people are less likely
to have. If a user has `xterm` installed, then that is, most probably,
because it ships with X11. Whereas if a user has `st` or `alacritty`
instlled, then that is because he/she chose to install it.
2024-09-20 12:18:52 +02:00
Arun
07a972a485
Merge pull request #1930 from danielb2/patch-1
...
Have NNN_PREVIEWIMGPROG accept a generic command for preview-tui
2024-09-15 22:35:37 +05:30
Luuk van Baal
aa04d6370b
change and document variable expansion
2024-09-15 16:04:37 +02:00
Daniel Bretoi
7571d172aa
add uberzug back
2024-09-15 11:45:29 +07:00
Daniel Bretoi
ef1ef56461
make image preview more generic
2024-09-15 11:43:38 +07:00
Daniel Bretoi
d85c23c433
Update preview-tui
...
make NNN_PREVIEWIMGPROG flexible enough to accept any program. programs like `timg` would also work (my preference), but it seems odd to add every single program out there when it's easy to add new ones by just this one variable
2024-09-12 22:15:18 -07:00
Arun
251843fe65
Merge pull request #1928 from s-hamann/fix-musl-build
...
Fix implicit function declaration strcasecmp
2024-09-10 22:23:44 +05:30
black
492a04d47d
Fix implicit function declaration strcasecmp
...
icons-hash.c uses strcasecmp from strings.h, but does not include it.
At least when building against musl with gcc 15, this is a fatal error.
2024-09-09 13:58:55 +02:00
Arun Prakash Jana
14fef0323d
Revert Haiku variety
2024-08-26 18:59:39 +05:30
Arun Prakash Jana
bdb1a64303
Prepare for release v5.0 Daiquiri
2024-08-26 18:47:23 +05:30
Arun Prakash Jana
48d986f706
Update copyright year
2024-08-26 18:39:23 +05:30
Arun Prakash Jana
b170298371
Use string literal for NUL
2024-08-25 18:37:13 +05:30