From afbfc2283b8ee7e3710b8aa9371299434e42a32e Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 17 Mar 2025 15:47:49 +0100 Subject: checkpoint --- bin/extra/trl | 10 +++++++++- config/essentials/zsh/.zshrc | 4 +++- config/home/.zshenv | 3 --- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/bin/extra/trl b/bin/extra/trl index 957d0fb..4a27f6a 100755 --- a/bin/extra/trl +++ b/bin/extra/trl @@ -1,7 +1,15 @@ #!/bin/sh # Translate words using http://context.reverso.net and scraping the answers -# with 'pup' and 'curl'. + +for dependency in pup curl fzf +do + if ! command -v "$dependency" > /dev/null + then + >&2 printf '"%s" (dependency) could not be found.\n' "$dependency" + exit 1 + fi +done # returns available languages languages () { diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 8978de7..28a7e01 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -139,4 +139,6 @@ setopt notify # zprof -PATH="$PATH:$HOME/proj/chatty/" +PATH="$PATH:$HOME/proj/metac/build" +PATH="$PATH:$HOME/proj/metac/misc" + diff --git a/config/home/.zshenv b/config/home/.zshenv index 7e18524..fc87589 100644 --- a/config/home/.zshenv +++ b/config/home/.zshenv @@ -113,9 +113,6 @@ export MAKEFLAGS="-j$(nproc)" export VAKKEN="$HOME/docs/school/2024-2025" -PATH="$PATH:$HOME/proj/chatty/" - - if [ "$(hostname)" = "spring" ]; then export GIT_TRACK_REPOS="$HOME/git-track.txt" fi -- cgit v1.2.3