Commit graph

4370 commits

Author SHA1 Message Date
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
Arun Prakash Jana ddbd15f7fd
Update patches 2024-08-25 10:12:52 +05:30
Arun Prakash Jana 7def65fc02
Add option -0 to use null separator for file paths in picker mode 2024-08-25 09:30:59 +05:30
Arun Prakash Jana a2deaf57f3
rm improvements
- show name of the hovered file to be removed
- show number of selected files to be removed
2024-08-14 05:56:12 +05:30
Arun Prakash Jana 0fb4ed5093
rm improvements:
- log removed filename
- cancel on 'n' or 'N'
2024-08-14 05:05:32 +05:30
Sijmen J. Mulder 9b33c49f68
Replace use of dprintf() with fprintf() or write()
This improves compatibility with legacy platforms that don't provide the
function, in particular, Illumos.
2024-08-11 08:30:58 +05:30
Arun 9fc320d56e
Merge pull request #1917 from N-R-K/upload
plugins/upload: remove inactive services
2024-07-27 11:48:04 +05:30
NRK 27e032fc96 plugins/upload: remove inactive services
this removes ix.io and ffsend since they are no longer active.

binary files are uploaded to file.io as before. selections are
now tar-balled and uploaded to file.io.

text files are uploaded to 0x0.st

Closes: https://github.com/jarun/nnn/pull/1900
2024-07-25 21:01:15 +00:00
Arun 86d883eee4
Merge pull request #1898 from a-gruzdev/dirs-context-color-fix
dirs in context color fix
2024-06-23 20:34:01 +05:30
Aleksandr f7cacaee5c dirs in context color fix 2024-06-22 15:30:09 +02:00
Arun 90eb2d32c0
Merge pull request #1891 from N-R-K/zsh-comp
update zsh completion
2024-06-04 02:56:18 +05:30
Arun e0685e98c2
Merge pull request #1890 from BeyondMagic/master
quitcd: fix range limits for new nushell version
2024-06-04 02:55:56 +05:30
João F. (BeyondMagic/koetemagie) 498d617639 quitcd: nushell use regex to remove single quotes 2024-05-27 11:16:36 -03:00
NRK 7bab213772 update zsh completion
add `-F` flag, enhance `-T` flag option description.
2024-05-27 06:59:17 +00:00
João F. (BeyondMagic/koetemagie) 71452faa40 quitcd: fix range limits for new nushell version 2024-05-26 23:05:14 -03:00
Arun Prakash Jana 0f10bd6cdc Update lock threads to latest 2024-05-24 06:32:02 +05:30
Arun e27d059552
Merge pull request #1881 from N-R-K/colemak-collision
fix collision in colemak patch
2024-05-18 05:43:44 +05:30
NRK 4f3662cf88 fix collision in colemak patch
Closes: https://github.com/jarun/nnn/issues/1876
2024-05-11 11:46:11 +00:00
Arun 9e95578c22
Merge pull request #1879 from N-R-K/use_stdio
use buffered io to reduce syscalls
2024-05-10 17:33:32 +05:30
NRK 78b9677abd use buffered io to reduce syscalls 2024-05-10 08:37:21 +00:00
Arun Prakash Jana 55137600e0
Fix #1877: use dprintf() instead of write() 2024-05-06 19:05:46 +05:30
Arun Prakash Jana be6988d1c8
Fix #1877: malloc: error pointer being freed was not allocated 2024-05-05 18:40:52 +05:30
Arun Prakash Jana 191e77ec5d
Fix CI error 2024-04-28 20:37:53 +05:30
Arun Prakash Jana 46b5255814
Add comma 2024-04-28 20:25:08 +05:30
Arun 2fb7490bf0
Merge pull request #1834 from TheUtopian/master
preview-tabbed: show sxiv/nsxiv in thumbnail mode when watching Pictures folder
2024-04-28 18:16:36 +05:30
Arun d61c983dd0
Merge pull request #1872 from N-R-K/manpage_sort
clarify au and du in manpage
2024-04-24 18:12:53 +05:30
NRK e60be2eaa2 silence new clang-tidy warnings 2024-04-24 07:31:15 +00:00
NRK 72ee94ed6e clarify au and du in manpage
Closes: https://github.com/jarun/nnn/issues/1855
Closes: https://github.com/jarun/nnn/issues/1290
Closes: https://github.com/jarun/nnn/discussions/1750
2024-04-24 06:16:00 +00:00
Oktay Imanzade b20886a29c
preview-tabbed: show (n)sxiv in thumbnail mode when watching "Pictures" directory 2024-04-18 20:18:24 +04:00
Arun ad04944bdf
Merge pull request #1865 from flipflop133/patch-1
preview-tui: add svg support
2024-04-08 18:04:00 +05:30
François Bechet 133c0d329b preview-tui: add full svg support 2024-04-08 13:55:21 +02:00
Arun 5853ac8e48
Merge pull request #1864 from horrad/master
Fix file creation on OpenBSD
2024-04-05 23:31:08 +05:30
Martin Ziemer 28d993a8e8 Fix file creation on OpenBSD
On OpenBSD at least one of O_RDONLY, O_WRONLY or O_RDWR is needed to open a file.

In creating a new file none of those is set, which leads to an EINVAL error ("invalid argument").

Since the new file is only created and never read, I chose to use O_WRONLY.
2024-04-04 15:57:36 +02:00
Arun 22aa1455a6
Merge pull request #1861 from KlzXS/makefile_icons
Prevent multiple icons options being selected at the same time
2024-03-30 01:33:20 +05:30
KlzXS 7806d5d371
Prevent multiple icons options being selected at the same time 2024-03-28 18:20:21 +01:00
Arun 5456ba4582
Merge pull request #1830 from c79cea05/master
nuke: use sort -V
2024-03-05 23:31:45 +05:30
c79cea05 297b85492f nuke: use sort -V 2024-02-23 09:21:15 +09:00
Arun Prakash Jana f71b1309a9
Fix deletion prompt when rm is used 2024-02-18 06:32:49 +05:30
Arun eb66598145
Merge pull request #1821 from KlzXS/cpmvrm_dashes
Added dashes to progress versions of cp and mv
2024-02-16 19:17:39 +05:30