Skip to content

Feature suggestion: Introduce environment variable TABTAB_AUTO_PATH #39

@yeonghoey

Description

@yeonghoey

TL;DR

How about providing TABTAB_AUTO_PATH option as an environment variable?
When it's defined, --auto installs/uninstalls its generated content into $TABTAB_AUTO_PATH.

Long Story

I usually use zsh but also use bash in times and manage them under a git repo.
They only contain common settings and I put all the other local system dependent settings into ~/.localrc.

As a result, my .bashrc and .zshrc both have following lines:

if [[ -f "$HOME/.localrc" ]]; then
  source "$HOME/.localrc"
fi

(It seems, as a matter of fact, that people who maintain their own dotfiles repos use patterns like this.)

Accordingly, I hope that every time I install some node packages which use tabtab, I want tabtab generated contents to be placed in .localrc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions