Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

add keybinding for "du" or "ncdu" if available #181

Open
Docbroke opened this issue Aug 16, 2021 · 0 comments
Open

add keybinding for "du" or "ncdu" if available #181

Docbroke opened this issue Aug 16, 2021 · 0 comments

Comments

@Docbroke
Copy link

Docbroke commented Aug 16, 2021

example code

        ## run du/ncdu to get sizes
        u)
            [[ -e "${list[scroll]}" ]] && {
                clear_screen
                reset_terminal
                status_line "${list[scroll]}"
                type ncdu &> /dev/null && ncdu "${list[scroll]}" || du "${list[scroll]}"
                setup_terminal
                redraw
            }


created pull request #183

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant