dotfiles | nnn | |
---|---|---|
3 | 200 | |
28 | 18,244 | |
- | - | |
7.1 | 8.1 | |
about 2 months ago | about 19 hours ago | |
Shell | C | |
Do What The F*ck You Want To Public License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
The bash book to rule them all
> An interactive shell can be a login-shell or a non-login-shell.
A shell can be login and non-interactive.
This happens e.g when starting a session from a X session manager. Subsequently a terminal such as Xterm starts non-login interactive sessions.
Similarly doing ssh starts a non-interactive login shell.
> However, bash behaves like an interactive non-login shell in this case and reads `bashrc`.
IIRC nope: distros such as Debian often have bashrc source bash profile (or the other way around, I can't recall) which has me irate to no end+. They even have some TTY dependent stuff in profile which spits out some error in some cases when no TTY is allocated because heh not interactive.
+ I took great length to have my rc and profile properly separated because it's that much faster not to source the unneeded stuff. https://github.com/lloeki/dotfiles
-
A Dotfile History
Got a similar repo: https://github.com/lloeki/dotfiles
A couple of differences though.
- there's a setup script to do the basic symlinks, automatically from the files in the "home" subdir by prepending the names with .
- then for shell stuff everything is sourced from either shell, bash, or zsh subdirs, all in modular files
- shell dir content is autoloaded based on +x
- there are polyfills for bash that makes it more zsh-like (stuff like precmd)
- each shell module tests for tool presence and is a noop or sets up a fallback when the tool is not available, so I can clone this on any system and have it still work, gracefully degrading down to zero deps except the shell itself
- it also attempts to provide a uniform experience across bash versions and OSes (darwin, linux)
- prompt is minimal (workdir, dirname only, not the full path), increases with detail progressively and in a hierarchical order (root if root, host if ssh, workdir, vcs branch if in repo, vcs status as symbols if nonempty, venv name if virtualenv, "nix" if in nix shell)
- How to navigate directories faster with Bash (2015)
nnn
-
Directory navigation on Helix
If you want a file full browser experience choose nnn: https://github.com/jarun/nnn . If you have a desktop file for Helix you can use the Gnome Files program to make all your programming language files open in Helix.
-
Help compiling a package with a compiler flag from an official Debian source
The other option is to just download the static version https://github.com/jarun/nnn/releases/download/v4.9/nnn-nerd-static-4.9.x86_64.tar.gz and overwrite the Debian executable at /usr/bin/nnn, but this seems a bit hacky, agreed?
- Antonmedv/walk: Terminal file manager
- Ytree; a Unix Filemanager
-
How do I change default image and video interpreter program through environment variables for nnn file manager ? (Asking herre bc r/linuxquestions doesnt allow posts)
You can get the 'default' nuke plugin script from https://github.com/jarun/nnn/blob/master/plugins/nuke and customize it if you need to. You define files by extension or mime type and set default and fallback apps to be opened with.
-
What are the best open source tools to easily navigate directories from the command line?
I like nnn ( n3 ).
-
Can't figure out how to change icon theme in nnn
The icon-theme seems to be driven by your terminal font as detailed in `src/icons-in-terminal.h & icons.h, and the choice of "terminal-icon vs nerd-fonts vs emoji" appear to be hard-wired at compile-time rather than at run-time.
-
What's a really niche tool you use that you can't live without?
nnn
- [Command Line] Quel gestionnaire de fichiers préférez-vous dans la CLI?
-
nnn file manager with icons
git clone https://github.com/jarun/nnn cd nnn make O_NERD=1
What are some alternatives?
fzf - :cherry_blossom: A command-line fuzzy finder
ranger - A VIM-inspired filemanager for the console
goat - POSIX-compliant shell movement boosting hack for real ninjas (aka `cd x` and `cd ...`)
lf - Terminal file manager
bashmarks - Directory bookmarks for the shell
vifm - Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
fff - 📁 A simple file manager written in bash.
zoxide - A smarter cd command. Supports all major shells.
xplr - A hackable, minimal, fast TUI file explorer
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
mc - Midnight Commander's repository