vapniks / zsh-functions

Various zsh functions grouped by type of task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zsh-functions

Various zsh functions grouped by type of task

linux-diagnostics.zsh

show-matching-devlinksshow info about symlinks in /dev matching a regexp
show-sysfs-descriptionprint linux source documentation about a file in /sys
search-sysfs-descriptionsprint linux source documentation for files in /sys with descriptions matching a regexp
search-modulessearch linux module descriptions
show-cmdlineprint command lines used to start processes matching a pattern
show-process-infoprint the contents of a file in the /proc directory for a given PID (completes PID & file)
describedirshow description of a standard linux directory (with completion)

fzf-apropos

This file defines a widget for browsing manpages using fzf (https://github.com/junegunn/fzf)
Add the file to one of the directories in your fpath, and add the following lines to your .zshrc

autoload -Uz fzf-apropos
zle -N fzf-apropos
bindkey "<KEY>" fzf-apropos

(for some <KEY> of your choice).

Options for fzf can be set with: zstyle ‘:fzf-apropos:’ options “<OPTIONS>”
By default this is “–height=100% –preview-window=down:wrap”

About

Various zsh functions grouped by type of task


Languages

Language:Shell 100.0%