Created
January 22, 2024 00:35
-
-
Save m93a/fb40f92373d356e6f618a74c64e96efb to your computer and use it in GitHub Desktop.
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"foreground": "red", | |
"style": "plain", | |
"template": "<i><d>n</d></i> ", | |
"type": "text" | |
}, | |
{ | |
"foreground": "#98C379", | |
"style": "plain", | |
"template": "{{ if eq .Code 0 }}<green>\u279c</green>{{ else }}<red>\u279c</red>{{ end }} ", | |
"type": "status", | |
"properties": { | |
"always_enabled": true | |
} | |
}, | |
{ | |
"foreground": "#56B6C2", | |
"properties": { | |
"style": "folder" | |
}, | |
"style": "plain", | |
"template": " {{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"foreground": "#D0666F", | |
"properties": { | |
"branch_icon": "" | |
}, | |
"style": "plain", | |
"template": "<#5FAAE8>git:(</>{{ .HEAD }}<#5FAAE8>)</>", | |
"type": "git" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"final_space": false, | |
"version": 2 | |
} |
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
export PATH="$HOME/.bin:$PATH" | |
# brew | |
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"; | |
export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"; | |
export HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew"; | |
export PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin${PATH+:$PATH}"; | |
export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"; | |
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"; | |
# pnpm | |
export PNPM_HOME="/home/csha/.local/share/pnpm" | |
export PATH="$PNPM_HOME:$PATH" | |
# rust | |
source "$HOME/.cargo/env" | |
# dotnet | |
export DOTNET_CLI_TELEMETRY_OPTOUT=1 | |
export DOTNET_ROOT=/usr/lib/dotnet |
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
bass source ./.path | |
if status is-interactive | |
# Commands to run in interactive sessions can go here | |
end | |
functions --copy fish_prompt _fish_prompt_omf | |
function fish_prompt | |
set s $status | |
echo -n (set_color -di blue)f(set_color normal) "" | |
bash -c "exit $s" | |
_fish_prompt_omf $argv | |
end | |
function fish_greeting | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment