From f3e07bad1602573f49ed6c6f9571ea5351cdbf9a Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Mon, 30 Dec 2024 13:47:26 +0100 Subject: [PATCH] rename dotf term to dotf hello --- .bashrc | 2 +- bin/actions/{term.sh => hello.sh} | 0 bin/dotf | 6 +++--- bin/resources/help.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename bin/actions/{term.sh => hello.sh} (100%) diff --git a/.bashrc b/.bashrc index 62f7492..3ca71f0 100644 --- a/.bashrc +++ b/.bashrc @@ -163,5 +163,5 @@ fi # Display a welcome message for interactive shells if [ -t 1 ]; then - dotf term + dotf hello fi diff --git a/bin/actions/term.sh b/bin/actions/hello.sh similarity index 100% rename from bin/actions/term.sh rename to bin/actions/hello.sh diff --git a/bin/dotf b/bin/dotf index 5ea3a2f..a651797 100755 --- a/bin/dotf +++ b/bin/dotf @@ -37,8 +37,8 @@ upgrade() { "$upgrade_script" $@ } -term() { - local term_script="$DOTFILES_BIN/actions/term.sh" +hello() { + local term_script="$DOTFILES_BIN/actions/hello.sh" if [[ ! -x "$term_script" ]]; then printfe "%s\n" "red" "Error: Terminal script not found or not executable" return 1 @@ -125,7 +125,7 @@ main() { update) shift; update "$@" ;; upgrade) shift; upgrade "$@" ;; help) shift; help "$@" ;; - term) shift; term "$@" ;; + hello) shift; hello "$@" ;; secrets) shift; secrets "$@" ;; auto-start) shift; auto_start "$@" ;; *) help ;; diff --git a/bin/resources/help.txt b/bin/resources/help.txt index 4758dac..6b60407 100755 --- a/bin/resources/help.txt +++ b/bin/resources/help.txt @@ -6,6 +6,6 @@ Usage: dotf [OPTIONS] [ARGS] upgrade: Runs switch, flake variants for nix switch with upgrade and home-manager. secrets: Encrypt and decrypt secrets. auto-start: Start a set of pre-defined applications. - term: Shows the welcome message for the terminal. + hello: Shows the welcome message for the terminal. help: Shows this help message \ No newline at end of file