-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTitus-Bash-Shell.sh
More file actions
132 lines (111 loc) · 2.37 KB
/
Titus-Bash-Shell.sh
File metadata and controls
132 lines (111 loc) · 2.37 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#!/bin/bash
apt update
wget --no-check-certificate https://github.com/fastfetch-cli/fastfetch/releases/download/2.36.1/fastfetch-linux-amd64.deb
sudo dpkg -i fastfetch-linux-amd64.deb
rm fastfetch-linux-amd64.deb
# Create build directory and clone repo
mkdir -p ~/build
cd ~/build
git clone https://github.com/christitustech/mybash
cd mybash
./setup.sh
# Create starship config with proper formatting
cat > ~/.config/starship.toml << 'EOF'
format = """
[](#3B4252)\
$python\
$username\
[](bg:#434C5E fg:#3B4252)\
$directory\
[](fg:#434C5E bg:#5C6370)\
$git_branch\
$git_status\
[](fg:#5C6370 bg:#7F848E)\
$c\
$elixir\
$elm\
$golang\
$haskell\
$java\
$julia\
$nodejs\
$nim\
$rust\
[](fg:#7F848E bg:#5C6370)\
$docker_context\
[](fg:#5C6370 bg:#4C566A)\
$time\
[ ](fg:#4C566A)\
"""
command_timeout = 5000
[username]
show_always = true
style_user = "bg:#3B4252"
style_root = "bg:#3B4252"
format = '[$user ]($style)'
[directory]
style = "bg:#434C5E"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
[c]
symbol = " "
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[docker_context]
symbol = " "
style = "bg:#5C6370"
format = '[ $symbol $context ]($style)$path'
[elixir]
symbol = " "
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[elm]
symbol = " "
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[git_branch]
symbol = ""
style = "bg:#5C6370"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "bg:#5C6370"
format = '[$all_status$ahead_behind ]($style)'
[golang]
symbol = " "
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[haskell]
symbol = " "
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[java]
symbol = " "
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[julia]
symbol = " "
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[nodejs]
symbol = ""
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[nim]
symbol = " "
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[python]
style = "bg:#3B4252"
format = '[(\($virtualenv\) )]($style)'
[rust]
symbol = ""
style = "bg:#7F848E"
format = '[ $symbol ($version) ]($style)'
[time]
disabled = false
time_format = "%R"
style = "bg:#4C566A"
format = '[ $time ]($style)'
EOF
echo "Starship configuration has been updated with gray theme"