I am quite sure I dont need zsh anymore
This commit is contained in:
parent
ec10c6b873
commit
6db6aae466
6 changed files with 0 additions and 234 deletions
|
@ -1,185 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
||||||
"blocks": [
|
|
||||||
{
|
|
||||||
"alignment": "left",
|
|
||||||
"segments": [
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#26C6DA",
|
|
||||||
"leading_diamond": "\ue0c7\u2593",
|
|
||||||
"properties": {
|
|
||||||
"alpine": "\uf300",
|
|
||||||
"arch": "\uf303",
|
|
||||||
"centos": "\uf304",
|
|
||||||
"debian": "\uf306",
|
|
||||||
"elementary": "\uf309",
|
|
||||||
"fedora": "\uf30a",
|
|
||||||
"gentoo": "\uf30d",
|
|
||||||
"linux": "\ue712",
|
|
||||||
"macos": "\ue711",
|
|
||||||
"manjaro": "\uf312",
|
|
||||||
"mint": "\uf30f",
|
|
||||||
"opensuse": "\uf314",
|
|
||||||
"raspbian": "\uf315",
|
|
||||||
"ubuntu": "\uf31c",
|
|
||||||
"windows": "\ue70f"
|
|
||||||
},
|
|
||||||
"style": "diamond",
|
|
||||||
"template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#7a7a7a> \ue0b1</>",
|
|
||||||
"type": "os"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#fafafa",
|
|
||||||
"style": "diamond",
|
|
||||||
"template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}</><#7a7a7a>\uf1fa</>{{ end }}<#2EEFBF>{{ .HostName }}</><#7a7a7a> \ue0b1</>",
|
|
||||||
"type": "session"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#ffff66",
|
|
||||||
"style": "diamond",
|
|
||||||
"template": " \uf0e7<#7a7a7a> \ue0b1</>",
|
|
||||||
"type": "root"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#fafafa",
|
|
||||||
"properties": {
|
|
||||||
"folder_icon": "<#B5B2C2>\ue5fe </>",
|
|
||||||
"style": "full"
|
|
||||||
},
|
|
||||||
"style": "diamond",
|
|
||||||
"template": "<#f2f200> \ue5ff </>{{ .Path }} ",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#ffeb3b",
|
|
||||||
"foreground_templates": [
|
|
||||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb3b{{ end }}",
|
|
||||||
"{{ if gt .Ahead 0 }}#2EC4B6{{ end }}",
|
|
||||||
"{{ if gt .Behind 0 }}#8A4FFF{{ end }}"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"fetch_stash_count": true,
|
|
||||||
"fetch_status": true,
|
|
||||||
"fetch_upstream_icon": true
|
|
||||||
},
|
|
||||||
"style": "diamond",
|
|
||||||
"template": "<#7a7a7a>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
|
||||||
"type": "git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#fafafa",
|
|
||||||
"style": "diamond",
|
|
||||||
"trailing_diamond": "\ue0b0",
|
|
||||||
"type": "text"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "prompt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"alignment": "right",
|
|
||||||
"segments": [
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#fafafa",
|
|
||||||
"leading_diamond": "\ue0b2",
|
|
||||||
"style": "diamond",
|
|
||||||
"type": "text"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#6CA35E",
|
|
||||||
"style": "diamond",
|
|
||||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#7a7a7a> \ue0b3</>",
|
|
||||||
"type": "node"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#96E072",
|
|
||||||
"style": "diamond",
|
|
||||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3</>",
|
|
||||||
"type": "python"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#3891A6",
|
|
||||||
"style": "diamond",
|
|
||||||
"template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3</>",
|
|
||||||
"type": "dotnet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"background": "#2f2f2f",
|
|
||||||
"foreground": "#fafafa",
|
|
||||||
"properties": {
|
|
||||||
"time_format": "15:04:05"
|
|
||||||
},
|
|
||||||
"style": "diamond",
|
|
||||||
"template": " {{ .CurrentDate | date .Format }}<#007ACC> \uf64f </>",
|
|
||||||
"trailing_diamond": "\u2593\ue0c6",
|
|
||||||
"type": "time"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "prompt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"alignment": "left",
|
|
||||||
"newline": true,
|
|
||||||
"segments": [
|
|
||||||
{
|
|
||||||
"foreground": "#7a7a7a",
|
|
||||||
"style": "plain",
|
|
||||||
"template": " ~#@\u276f ",
|
|
||||||
"type": "text"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "prompt"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"alignment": "right",
|
|
||||||
"segments": [
|
|
||||||
{
|
|
||||||
"foreground": "#7a7a7a",
|
|
||||||
"style": "plain",
|
|
||||||
"template": " \u276e ",
|
|
||||||
"type": "text"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "#FFCE5C",
|
|
||||||
"properties": {
|
|
||||||
"style": "roundrock",
|
|
||||||
"threshold": 500
|
|
||||||
},
|
|
||||||
"style": "plain",
|
|
||||||
"template": " {{ .FormattedMs }}<#fafafa> \uf252 </>",
|
|
||||||
"type": "executiontime"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "#9FD356",
|
|
||||||
"foreground_templates": [
|
|
||||||
"{{ if gt .Code 0 }}#E84855{{ end }}"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"always_enabled": true
|
|
||||||
},
|
|
||||||
"style": "plain",
|
|
||||||
"template": " \uf705 {{ if gt .Code 0 }}{{ .Code }}{{ end }} ",
|
|
||||||
"type": "exit"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "rprompt"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
|
||||||
"final_space": true,
|
|
||||||
"transient_prompt": {
|
|
||||||
"background": "transparent",
|
|
||||||
"foreground": "#7a7a7a",
|
|
||||||
"template": " ~#@\u276f "
|
|
||||||
},
|
|
||||||
"version": 2
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
#########################################
|
|
||||||
# Aliases #
|
|
||||||
#########################################
|
|
||||||
alias gitroot='cd $(git rev-parse --show-toplevel)'
|
|
||||||
|
|
||||||
alias dc-up="docker-compose up"
|
|
||||||
alias dc-upd="docker-compose up -d"
|
|
||||||
alias dc-down="docker-compose down"
|
|
||||||
|
|
||||||
if [[ -n "$(command -v nvim)" ]]; then
|
|
||||||
alias oldvim='vim'
|
|
||||||
alias vim='nvim'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $(uname -s) != "Darwin" ]]; then
|
|
||||||
alias open="xdg-open"
|
|
||||||
fi
|
|
||||||
|
|
||||||
alias kubectl="minikube kubectl --"
|
|
|
@ -1,13 +0,0 @@
|
||||||
source ~/.zcustom/packages.zsh
|
|
||||||
source ~/.zcustom/p9k.zsh
|
|
||||||
source ~/.zcustom/alias.zsh
|
|
||||||
source ~/.zcustom/motd.zsh
|
|
||||||
|
|
||||||
if ! zplug check --verbose; then
|
|
||||||
printf "Install? [y/N]: "
|
|
||||||
if read -q; then
|
|
||||||
echo; zplug install
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
zplug load --verbose
|
|
|
@ -1 +0,0 @@
|
||||||
neofetch
|
|
|
@ -1,13 +0,0 @@
|
||||||
POWERLEVEL9K_MODE='awesome-fontconfig'
|
|
||||||
|
|
||||||
POWERLEVEL9K_CUSTOM_BRANDICON="printf '\xF0\x9F\x90\xBE'"
|
|
||||||
POWERLEVEL9K_CUSTOM_BRANDICON_BACKGROUND="blue"
|
|
||||||
POWERLEVEL9K_CUSTOM_BRANDICON_FOREGROUND="black"
|
|
||||||
|
|
||||||
POWERLEVEL9K_TIME_FOREGROUND="black"
|
|
||||||
POWERLEVEL9K_TIME_BACKGROUND="cyan"
|
|
||||||
POWERLEVEL9K_OS_ICON_FOREGROUND="white"
|
|
||||||
POWERLEVEL9K_OS_ICON_BACKGROUND="black"
|
|
||||||
|
|
||||||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon time dir vcs newline user custom_brandicon)
|
|
||||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs)
|
|
|
@ -1,3 +0,0 @@
|
||||||
zplug "romkatv/powerlevel10k", as:theme, depth:1
|
|
||||||
zplug "rupa/z", use:z.sh
|
|
||||||
zplug "svenXY/timewarrior"
|
|
Loading…
Reference in a new issue