From 84595137098daba6d70eb08ea889b191756e4975 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Wed, 14 Oct 2020 17:46:45 +0100 Subject: [PATCH] REMIND/ZSH: set environment variables and alias I have added an environment variable to make rem look for it's default configuration file in ~/.config/remind/remind.rem I have added an alias so rem will output in colour I have made zsh run `rem` when I open a new terminal if I don't have a project set. I may remove this in the future --- shells/shared/aliases | 3 +++ shells/shared/environmentVariables | 1 + shells/zsh/STOW/.zshrc | 2 ++ 3 files changed, 6 insertions(+) diff --git a/shells/shared/aliases b/shells/shared/aliases index 49c6778f..022bdf20 100644 --- a/shells/shared/aliases +++ b/shells/shared/aliases @@ -28,6 +28,9 @@ alias jq="jq -C" alias mbsync="mbsync -c \"$XDG_CONFIG_HOME/isync/mbsyncrc.secret\"" alias imapfilter="imapfilter -c \"$XDG_CONFIG_HOME/imapfilter/config.lua\"" +# Makes rem output color by default +alias rem="rem -@" + #################### # Path Shortcuts # diff --git a/shells/shared/environmentVariables b/shells/shared/environmentVariables index e160a6da..9cca393c 100644 --- a/shells/shared/environmentVariables +++ b/shells/shared/environmentVariables @@ -7,6 +7,7 @@ export BROWSER="firefox-developer-edition" export CDPATH=.:~:~/Projects:~/.dotfiles export GOPATH="$HOME/go" export NODE_PATH='/usr/lib/node_modules/' +export DOTREMINDERS="$HOME/.config/remind/remind.rem" #Adds a list of all the sub directories in my .bin folder to a variable called mypath mypath="$HOME/.bin" diff --git a/shells/zsh/STOW/.zshrc b/shells/zsh/STOW/.zshrc index d2adc854..cb0ab6ea 100644 --- a/shells/zsh/STOW/.zshrc +++ b/shells/zsh/STOW/.zshrc @@ -73,6 +73,8 @@ else mkdir "$current/shell-logs" 2> /dev/null /usr/bin/script -f "$current/shell-logs/$(date +"%d-%b-%y_%H-%M-%S")_shell.log" fi + else + rem -@ fi fi