My build of nnn with minor changes
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 
Arun Prakash Jana 1068108cac
Update readme.
8 yıl önce
LICENSE Year bump 8 yıl önce
Makefile Remove libmagic, use file command. 8 yıl önce
README Update README - OSX works too 8 yıl önce
README.md Update readme. 8 yıl önce
config.def.h Remove libmagic, use file command. 8 yıl önce
mktest.sh Test the case of unreadable parent 9 yıl önce
noice.1 Document NOICE_FALLBAK_OPENER. 8 yıl önce
noice.c List alphabetically, case ignored (like 'ls -l'). 8 yıl önce
strlcat.c Sync strlcpy/strlcat from OpenBSD 9 yıl önce
strlcpy.c Sync strlcpy/strlcat from OpenBSD 9 yıl önce
util.h Add license pointer 9 yıl önce

README.md

noice

A fork of noice file browser: http://git.2f30.org/noice/

Additional customization to make it more friendly towards major distros (which suck more by some standards).

Default features

  • Browse current or specified directory
  • Navigate to parent or child directories
  • Jump to first or last entry
  • Open files with default-associated programs
  • Jump to home directory
  • Show/hide hidden files
  • Sort entries by time modified
  • Spawn a shell in current directory
  • Run top
  • Open a file with vim or less

Modifications

  • Behaviour
    • List files alphabetically instead of upper case first. Same as ls -l output.
  • File associations
    • Environment variable NOICE_OPENER to override all associations and open all files with your desktop environments default file opener. Examples:

        $ export NOICE_OPENER=xdg-open
        $ export NOICE_OPENER=gnome-open
        $ export NOICE_OPENER=gvfs-open
      

    All the following associations are ignored if NOICE_OPENER is exported.

    • Associate plain text files with vim (using file command)
    • Remove video file associations (to each his own favourite video player)
    • Associate common audio file types with lightweight fmedia (http://fmedia.firmdev.com/)
    • Associate PDF files with zathura
    • Removed less
    • Use environment variable NOICE_FALLBACK_OPENER to open other non-associated files
  • Compilation
    • Use -O3 for compilation, fixed warnings
    • Added compilation flag -march=native (compile only, no plans to package).
    • Remove generated config.h on make clean.

Installation

$ make
$ sudo make install

Help

$ man noice

Change associations

If you want to set custom applications for certain mime types, or change the ones set already (e.g. vim, fmedia, zathura), modify the assocs structure in config.def.h (it’s easy). Then run the following commands to re-compile and install:

$ make clean
$ make
$ sudo make install