feat: Add more files
This commit is contained in:
36
.profile
Executable file
36
.profile
Executable file
@@ -0,0 +1,36 @@
|
||||
# ~/.profile: executed by the command interpreter for login shells.
|
||||
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
||||
# exists.
|
||||
# see /usr/share/doc/bash/examples/startup-files for examples.
|
||||
# the files are located in the bash-doc package.
|
||||
|
||||
# the default umask is set in /etc/profile; for setting the umask
|
||||
# for ssh logins, install and configure the libpam-umask package.
|
||||
#umask 022
|
||||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
export PATH="/home/nathan/Downloads/go/bin:$PATH"
|
||||
export PATH="/home/nathan/Downloads/idea-IU-232.10072.27/bin:$PATH"
|
||||
export PATH="/home/nathan/.local/bin:$PATH"
|
||||
export ANDROID_HOME="$HOME/Android/Sdk"
|
||||
export PATH="$PATH:$ANDROID_HOME/platform-tools"
|
||||
export PATH="$PATH:/home/nathan/Android/Sdk/cmdline-tools/latest/bin/"
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
export PATH="/home/nathan/.local/share/solana/install/active_release/bin:$PATH"
|
||||
91
theme.omp.json
Normal file
91
theme.omp.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"version": 2,
|
||||
"blocks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"type": "session",
|
||||
"style": "plain",
|
||||
"foreground": "lightBlue",
|
||||
"foreground_templates": [
|
||||
"{{ if .Root }}lightRed{{ end }}"
|
||||
],
|
||||
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>\u250c\u2500\u2500(</>{{ .UserName }}{{ if .Root }}💀{{ else }}@{{ end }}{{ .HostName }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>)</>",
|
||||
"properties": {
|
||||
"display_host": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "python",
|
||||
"style": "plain",
|
||||
"foreground": "yellow",
|
||||
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</>\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"fetch_virtual_env": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "path",
|
||||
"style": "plain",
|
||||
"foreground": "lightWhite",
|
||||
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</>{{ .Path }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>",
|
||||
"properties": {
|
||||
"folder_separator_icon": "<#c0c0c0>/</>",
|
||||
"style": "full"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "git",
|
||||
"style": "plain",
|
||||
"foreground": "white",
|
||||
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</>{{ .HEAD }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "right",
|
||||
"segments": [
|
||||
{
|
||||
"type": "executiontime",
|
||||
"style": "plain",
|
||||
"foreground": "white",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"style": "round"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "exit",
|
||||
"style": "plain",
|
||||
"foreground": "green",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .Code 0 }}red{{ end }}"
|
||||
],
|
||||
"template": " {{ if gt .Code 0 }}\u2a2f{{else}}✓{{ end }} ",
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"type": "text",
|
||||
"style": "plain",
|
||||
"foreground": "lightBlue",
|
||||
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>\u2514\u2500</>{{ if .Root }}<lightRed>#</>{{ else }}${{ end }} "
|
||||
}
|
||||
],
|
||||
"newline": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user