-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathutil.zsh
52 lines (39 loc) · 946 Bytes
/
util.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env zsh
autoload -Uz colors;
colors
function print_success_msg() {
echo "[$fg[green]SUCCESS$reset_color] $1"
}
function print_failed_msg() {
echo "[$fg[red]FAILED$reset_color] $1"
}
function print_warn_msg() {
echo "[$fg[yellow]WARN$reset_color] $1"
}
function print_skip_msg() {
echo "[$fg[green]SKIP$reset_color] $1"
}
function print_install_msg() {
echo "[$fg[green]INSTALL$reset_color] $1"
}
function print_uninstall_msg() {
echo "[$fg[green]UNINSTALL$reset_color] $1"
}
function print_run_msg() {
echo "[$fg[green]RUN$reset_color] $1"
}
function print_sync_msg() {
echo "[$fg[green]SYNC$reset_color] $1"
}
function print_create_msg() {
echo "[$fg[green]CREATE$reset_color] $1"
}
function print_exist_msg() {
echo "[$fg[green]EXIST$reset_color] $1"
}
function print_append_msg() {
echo "[$fg[green]APPEND$reset_color] $1"
}
function print_todo_msg() {
echo "[$fg[yellow]TODO$reset_color] $1"
}