rename dotf term to dotf hello
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
This commit is contained in:
parent
ff4f509d26
commit
f3e07bad16
2
.bashrc
2
.bashrc
@ -163,5 +163,5 @@ fi
|
|||||||
|
|
||||||
# Display a welcome message for interactive shells
|
# Display a welcome message for interactive shells
|
||||||
if [ -t 1 ]; then
|
if [ -t 1 ]; then
|
||||||
dotf term
|
dotf hello
|
||||||
fi
|
fi
|
||||||
|
6
bin/dotf
6
bin/dotf
@ -37,8 +37,8 @@ upgrade() {
|
|||||||
"$upgrade_script" $@
|
"$upgrade_script" $@
|
||||||
}
|
}
|
||||||
|
|
||||||
term() {
|
hello() {
|
||||||
local term_script="$DOTFILES_BIN/actions/term.sh"
|
local term_script="$DOTFILES_BIN/actions/hello.sh"
|
||||||
if [[ ! -x "$term_script" ]]; then
|
if [[ ! -x "$term_script" ]]; then
|
||||||
printfe "%s\n" "red" "Error: Terminal script not found or not executable"
|
printfe "%s\n" "red" "Error: Terminal script not found or not executable"
|
||||||
return 1
|
return 1
|
||||||
@ -125,7 +125,7 @@ main() {
|
|||||||
update) shift; update "$@" ;;
|
update) shift; update "$@" ;;
|
||||||
upgrade) shift; upgrade "$@" ;;
|
upgrade) shift; upgrade "$@" ;;
|
||||||
help) shift; help "$@" ;;
|
help) shift; help "$@" ;;
|
||||||
term) shift; term "$@" ;;
|
hello) shift; hello "$@" ;;
|
||||||
secrets) shift; secrets "$@" ;;
|
secrets) shift; secrets "$@" ;;
|
||||||
auto-start) shift; auto_start "$@" ;;
|
auto-start) shift; auto_start "$@" ;;
|
||||||
*) help ;;
|
*) help ;;
|
||||||
|
@ -6,6 +6,6 @@ Usage: dotf [OPTIONS] [ARGS]
|
|||||||
upgrade: Runs switch, flake variants for nix switch with upgrade and home-manager.
|
upgrade: Runs switch, flake variants for nix switch with upgrade and home-manager.
|
||||||
secrets: Encrypt and decrypt secrets.
|
secrets: Encrypt and decrypt secrets.
|
||||||
auto-start: Start a set of pre-defined applications.
|
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
|
help: Shows this help message
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user