-
Notifications
You must be signed in to change notification settings - Fork 0
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
6 changed files
with
120 additions
and
18 deletions.
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
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 |
---|---|---|
@@ -1,12 +1,60 @@ | ||
# Đ Latin D with strike | ||
# ℈ scruple | ||
# ᕭ ttho | ||
function fish_prompt --description 'Write out the prompt' | ||
set -l last_pipestatus $pipestatus | ||
set -lx __fish_last_status $status # Export for __fish_print_pipestatus. | ||
set -l normal (set_color normal) | ||
set -q fish_color_status | ||
or set -g fish_color_status --background=red white | ||
|
||
# Color the prompt differently when we're root | ||
set -l color_cwd $fish_color_cwd | ||
set -l suffix '>' | ||
#set -l suffix '℈' | ||
if functions -q fish_is_root_user; and fish_is_root_user | ||
if set -q fish_color_cwd_root | ||
set color_cwd $fish_color_cwd_root | ||
end | ||
set suffix '#' | ||
end | ||
|
||
# Write pipestatus | ||
# If the status was carried over (e.g. after `set`), don't bold it. | ||
set -l bold_flag --bold | ||
set -q __fish_prompt_status_generation; or set -g __fish_prompt_status_generation $status_generation | ||
if test $__fish_prompt_status_generation = $status_generation | ||
set bold_flag | ||
end | ||
set __fish_prompt_status_generation $status_generation | ||
set -l status_color (set_color $fish_color_status) | ||
set -l statusb_color (set_color $bold_flag $fish_color_status) | ||
set -l prompt_status (__fish_print_pipestatus "[" "]" "|" "$status_color" "$statusb_color" $last_pipestatus) | ||
|
||
echo -n -s (prompt_login)' ' (set_color $color_cwd) (prompt_pwd) $normal (fish_vcs_prompt) $normal " "$prompt_status $suffix " " | ||
end | ||
|
||
# Generated for envman. Do not edit. | ||
test -s "$HOME/.config/envman/load.fish" ; and source "$HOME/.config/envman/load.fish" | ||
test -s "$HOME/.config/envman/functions.fish" ; and source "$HOME/.config/envman/functions.fish" | ||
test -s "$HOME/.config/envman/load.fish"; and source "$HOME/.config/envman/load.fish" | ||
|
||
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish | ||
|
||
#zoxide init fish | source | ||
|
||
# added by Webi for pyenv | ||
status is-login ; and pyenv init --path | source | ||
status is-interactive ; and pyenv init - | source | ||
status is-login; and pyenv init --path | source | ||
status is-interactive; and pyenv init - | source | ||
|
||
# bun | ||
set --export BUN_INSTALL "$HOME/.bun" | ||
set --export PATH $BUN_INSTALL/bin $PATH | ||
|
||
# added by Webi for fish | ||
webi init fish | source | ||
|
||
# Generated by Webi. Do not edit. | ||
webi --init fish | source | ||
|
||
source ~/.local/opt/brew/opt/chruby-fish/share/fish/vendor_functions.d/chruby.fish | ||
source ~/.local/opt/brew/opt/chruby-fish/share/fish/vendor_functions.d/chruby_use.fish | ||
source ~/.local/opt/brew/opt/chruby-fish/share/fish/vendor_functions.d/chruby_reset.fish |
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 |
---|---|---|
|
@@ -5,14 +5,16 @@ set -u | |
( | ||
cd /tmp/ | ||
|
||
npm install --location=global \ | ||
@socketsecurity/cli@latest | ||
# npm install --location=global \ | ||
# @socketsecurity/cli@latest | ||
|
||
socket npm install --location=global \ | ||
# socket npm install --location=global \ | ||
# [email protected] \ | ||
npm install --location=global \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
typedoc \ | ||
[email protected] | ||
) |
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