diff options
Diffstat (limited to 'ar/.config/zsh/scripts.zsh')
| -rw-r--r-- | ar/.config/zsh/scripts.zsh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ar/.config/zsh/scripts.zsh b/ar/.config/zsh/scripts.zsh index 9341693..0fa7397 100644 --- a/ar/.config/zsh/scripts.zsh +++ b/ar/.config/zsh/scripts.zsh @@ -468,8 +468,6 @@ function man() { local page=$(command man -k . | fzf --prompt='Man> ' --exit-0 | awk '{print $1}') if [[ -n $page ]]; then nvim +"Man $page | only" - else - echo "Need to run 'sudo mandb -c' to update mandb." fi fi else @@ -617,6 +615,16 @@ fi ########################################################################################### ########################################################################################### +### --- SDCV --- ### +function def() { + sdcv -n --utf8-output --color "$@" 2>&1 | \ + fold --width=$(tput cols) | \ + less --quit-if-one-screen -RX +} + + +########################################################################################### +########################################################################################### ### --- STOW --- ### # run stow script from dotfiles repo alias dstw=dotfeils_stw |
