From 52b766e18e1bf7e51be4e99d3aa1f0ad55333d80 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 31 Dec 2021 15:00:17 +0100 Subject: [PATCH] Add more tools --- files/bashrc.d/00-winpty.sh | 9 +++++++++ files/bashrc.d/70-util-moz-vpn.sh | 5 +++++ files/bashrc.d/70-util-travis.sh | 6 ++++++ files/bashrc.d/70-util-trello.sh | 6 +++--- 4 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 files/bashrc.d/00-winpty.sh create mode 100644 files/bashrc.d/70-util-moz-vpn.sh create mode 100644 files/bashrc.d/70-util-travis.sh diff --git a/files/bashrc.d/00-winpty.sh b/files/bashrc.d/00-winpty.sh new file mode 100644 index 0000000..2232a8f --- /dev/null +++ b/files/bashrc.d/00-winpty.sh @@ -0,0 +1,9 @@ + +# HAS_WINPTY="${HAS_WINPTY:-}" +# export HAS_WINPTY +# # Force shell restart in case winpty is not set +# if [ -z "$HAS_WINPTY" ]; then +# HAS_WINPTY=1 +# exec winpty $SHELL +# fi + diff --git a/files/bashrc.d/70-util-moz-vpn.sh b/files/bashrc.d/70-util-moz-vpn.sh new file mode 100644 index 0000000..0bd4f47 --- /dev/null +++ b/files/bashrc.d/70-util-moz-vpn.sh @@ -0,0 +1,5 @@ + +MOZ_TOKEN_FILE="$HOME/.config/mozilla-vpn/token" +if [ -f "$MOZ_TOKEN_FILE" ]; then + . "$MOZ_TOKEN_FILE" +fi diff --git a/files/bashrc.d/70-util-travis.sh b/files/bashrc.d/70-util-travis.sh new file mode 100644 index 0000000..bc51f43 --- /dev/null +++ b/files/bashrc.d/70-util-travis.sh @@ -0,0 +1,6 @@ + +# added by travis gem +if [ -f "$HOME/.travis/travis.sh" ]; then + . "$HOME/.travis/travis.sh" +fi + diff --git a/files/bashrc.d/70-util-trello.sh b/files/bashrc.d/70-util-trello.sh index cb169a7..c07ec3e 100644 --- a/files/bashrc.d/70-util-trello.sh +++ b/files/bashrc.d/70-util-trello.sh @@ -1,5 +1,5 @@ -export TRELLO_USER=glenux -export TRELLO_KEY=58117ebf843d49b05bca074c5fd520ee -export TRELLO_TOKEN=011311626e32209450bb05fafad4bd6c64f1f95355f2f853b919a4d7ff2c89cf +if [ -f "$HOME/.config/trello/glenux" ]; then + . "$HOME/.config/trello/glenux" +fi