No. You don't have ns installed, but zsh knows completions for the ns command. Shell tab completions are generally completely disconnected from the actual commands. Have a look in /usr/share/zsh/functions/Completion: you'll find lots of completion scripts for programs you don't have.
In particular, the completion you see is provided by /usr/share/zsh/functions/Completion/Unix/_hosts. I think zsh usually prints a message if the command you're trying to complete doesn't exist, but that script provides completions for multiple commands and thus this check doesn't work.
For ZSH, you can look up builtins in man zshbuiltins.
Actually a dependency is optional if you can compile the package without it and the package can make use of the dependency after installing it. Due to the way dynamic linking works, this unfortunately isn't the default case and requires additional work from the developer.
TRIM is only useful on SSDs and has nothing to do with fragmentation. The issue is that flash memory cannot be overwritten and has to be completely deleted first. Additionally, the "deletion blocks" are larger than the usual write/read blocks, so the SSD may have to copy and write multiple blocks even if you're just changing small parts of a file.
TRIM helps by signalling unused non-empty blocks to the SSD. The SSD deletes these blocks and can then immediately write new data there.
No. You don't have ns installed, but zsh knows completions for the ns command. Shell tab completions are generally completely disconnected from the actual commands. Have a look in
/usr/share/zsh/functions/Completion: you'll find lots of completion scripts for programs you don't have.In particular, the completion you see is provided by
/usr/share/zsh/functions/Completion/Unix/_hosts. I think zsh usually prints a message if the command you're trying to complete doesn't exist, but that script provides completions for multiple commands and thus this check doesn't work.For ZSH, you can look up builtins in
man zshbuiltins.Actually a dependency is optional if you can compile the package without it and the package can make use of the dependency after installing it. Due to the way dynamic linking works, this unfortunately isn't the default case and requires additional work from the developer.
TRIM is only useful on SSDs and has nothing to do with fragmentation. The issue is that flash memory cannot be overwritten and has to be completely deleted first. Additionally, the "deletion blocks" are larger than the usual write/read blocks, so the SSD may have to copy and write multiple blocks even if you're just changing small parts of a file.
TRIM helps by signalling unused non-empty blocks to the SSD. The SSD deletes these blocks and can then immediately write new data there.
I'm also using st together with tmux.
In case anyone wants to try it out, note that you probably don't want to install st from the repository, but compile it yourself with custom settings.
Not exactly with NVMe though, the recommendation to disable discard there is just about performance.