Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rosetta item when running translated #544

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions functions/_tide_item_rosetta.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function _tide_item_rosetta
if test (sysctl -ne sysctl.proc_translated) = 1
set machine (uname -m)
_tide_print_item rosetta $tide_rosetta_icon' ' $machine
end
end
2 changes: 2 additions & 0 deletions functions/tide/configure/configs/classic.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
tide_rosetta_bg_color 444444
tide_rosetta_color BE7A14
tide_aws_bg_color 444444
tide_aws_color FF9900
tide_bun_bg_color 14151A
Expand Down
2 changes: 2 additions & 0 deletions functions/tide/configure/configs/classic_16color.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
tide_rosetta_bg_color black
tide_rosetta_color bryellow
tide_aws_bg_color black
tide_aws_color yellow
tide_bun_bg_color black
Expand Down
2 changes: 2 additions & 0 deletions functions/tide/configure/configs/lean.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
tide_rosetta_bg_color normal
tide_rosetta_color DC5D12
tide_aws_bg_color normal
tide_aws_color FF9900
tide_bun_bg_color normal
Expand Down
2 changes: 2 additions & 0 deletions functions/tide/configure/configs/lean_16color.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
tide_rosetta_bg_color normal
tide_rosetta_color bryellow
tide_aws_bg_color normal
tide_aws_color yellow
tide_bun_bg_color normal
Expand Down
2 changes: 2 additions & 0 deletions functions/tide/configure/configs/rainbow.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
tide_rosetta_bg_color DC5D12
tide_rosetta_color 000000
tide_aws_bg_color FF9900
tide_aws_color 232F3E
tide_bun_bg_color FBF0DF
Expand Down
2 changes: 2 additions & 0 deletions functions/tide/configure/configs/rainbow_16color.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
tide_rosetta_bg_color bryellow
tide_rosetta_color brblack
tide_aws_bg_color yellow
tide_aws_color brblack
tide_bun_bg_color white
Expand Down
1 change: 1 addition & 0 deletions functions/tide/configure/icons.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tide_rosetta_icon 
tide_aws_icon  # Actual aws glyph is harder to see
tide_bun_icon 󰳓
tide_character_icon ❯
Expand Down