generated from blue-build/template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
131 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
function fish_prompt -d "Write out the prompt" | ||
# This shows up as USER@HOST /home/user/ >, with the directory colored | ||
# $USER and $hostname are set by fish, so you can just use them | ||
# instead of using `whoami` and `hostname` | ||
printf '%s@%s %s%s%s > ' $USER $hostname \ | ||
(set_color $fish_color_cwd) (prompt_pwd) (set_color normal) | ||
end | ||
|
||
if status is-interactive | ||
# Commands to run in interactive sessions can go here | ||
set fish_greeting | ||
|
||
end | ||
|
||
starship init fish | source | ||
if test -f ~/.cache/ags/user/generated/terminal/sequences.txt | ||
cat ~/.cache/ags/user/generated/terminal/sequences.txt | ||
end | ||
|
||
alias pamcan=pacman | ||
|
||
# function fish_prompt | ||
# set_color cyan; echo (pwd) | ||
# set_color green; echo '> ' | ||
# end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# Don't print a new line at the start of the prompt | ||
add_newline = false | ||
# Pipes ╰─ ╭─ | ||
# Powerline symbols | ||
# Wedges 🭧🭒 🭣🭧🭓 | ||
# Random noise 🬖🬥🬔🬗 | ||
|
||
# format = """ | ||
# $cmd_duration$username$hostname $directory $git_branch | ||
# $character | ||
# """ | ||
format = """ | ||
$cmd_duration$directory $git_branch | ||
$character | ||
""" | ||
|
||
# Replace the "❯" symbol in the prompt with "➜" | ||
[character] # The name of the module we are configuring is "character" | ||
success_symbol = "[• ](bold fg:green) " | ||
error_symbol = "[• ](bold fg:red) " | ||
|
||
# Disable the package module, hiding it from the prompt completely | ||
[package] | ||
disabled = true | ||
|
||
[git_branch] | ||
style = "bg: green" | ||
symbol = "" | ||
truncation_length = 4 | ||
truncation_symbol = "" | ||
format = "• [](bold fg:green)[$symbol $branch(:$remote_branch)](fg:black bg:green)[ ](bold fg:green)" | ||
|
||
[git_commit] | ||
commit_hash_length = 4 | ||
tag_symbol = " " | ||
|
||
[git_state] | ||
format = '[\($state( $progress_current of $progress_total)\)]($style) ' | ||
cherry_pick = "[🍒 PICKING](bold red)" | ||
|
||
[git_status] | ||
conflicted = " 🏳 " | ||
ahead = " 🏎💨 " | ||
behind = " 😰 " | ||
diverged = " 😵 " | ||
untracked = " 🤷 " | ||
stashed = " 📦 " | ||
modified = " 📝 " | ||
staged = '[++\($count\)](green)' | ||
renamed = " ✍️ " | ||
deleted = " 🗑 " | ||
|
||
[hostname] | ||
ssh_only = false | ||
format = "[•$hostname](bg:cyan bold fg:black)[](bold fg:cyan )" | ||
trim_at = ".companyname.com" | ||
disabled = false | ||
|
||
[line_break] | ||
disabled = false | ||
|
||
[memory_usage] | ||
disabled = true | ||
threshold = -1 | ||
symbol = " " | ||
style = "bold dimmed green" | ||
|
||
[time] | ||
disabled = true | ||
format = '🕙[\[ $time \]]($style) ' | ||
time_format = "%T" | ||
|
||
[username] | ||
style_user = "bold bg:cyan fg:black" | ||
style_root = "red bold" | ||
format = "[](bold fg:cyan)[$user]($style)" | ||
disabled = false | ||
show_always = true | ||
|
||
[directory] | ||
home_symbol = " " | ||
read_only = " " | ||
style = "bg:green fg:black" | ||
truncation_length = 6 | ||
truncation_symbol = "••/" | ||
format = '[](bold fg:green)[$path ]($style)[](bold fg:green)' | ||
|
||
|
||
[directory.substitutions] | ||
"Desktop" = " " | ||
"Documents" = " " | ||
"Downloads" = " " | ||
"Music" = " " | ||
"Pictures" = " " | ||
"Videos" = " " | ||
|
||
[cmd_duration] | ||
min_time = 0 | ||
format = '[](bold fg:yellow)[ $duration](bold bg:yellow fg:black)[](bold fg:yellow) •• ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ install: | |
- brightnessctl | ||
- aylurs-gtk-shell | ||
- swww | ||
- gnome-themes-extra |