Skip to content

Instantly share code, notes, and snippets.

@m93a
Created January 22, 2024 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m93a/fb40f92373d356e6f618a74c64e96efb to your computer and use it in GitHub Desktop.
Save m93a/fb40f92373d356e6f618a74c64e96efb to your computer and use it in GitHub Desktop.
{
"$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
}
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
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