diff --git a/shell/.poshthemes/slimfat.omp.json b/shell/.poshthemes/slimfat.omp.json deleted file mode 100644 index 3b9f121..0000000 --- a/shell/.poshthemes/slimfat.omp.json +++ /dev/null @@ -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 -} diff --git a/shell/.zcustom/alias.zsh b/shell/.zcustom/alias.zsh deleted file mode 100644 index fc7309a..0000000 --- a/shell/.zcustom/alias.zsh +++ /dev/null @@ -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 --" diff --git a/shell/.zcustom/init.zsh b/shell/.zcustom/init.zsh deleted file mode 100644 index 1390fbd..0000000 --- a/shell/.zcustom/init.zsh +++ /dev/null @@ -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 diff --git a/shell/.zcustom/motd.zsh b/shell/.zcustom/motd.zsh deleted file mode 100644 index f8d43b1..0000000 --- a/shell/.zcustom/motd.zsh +++ /dev/null @@ -1 +0,0 @@ -neofetch diff --git a/shell/.zcustom/p9k.zsh b/shell/.zcustom/p9k.zsh deleted file mode 100644 index 46302e3..0000000 --- a/shell/.zcustom/p9k.zsh +++ /dev/null @@ -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) diff --git a/shell/.zcustom/packages.zsh b/shell/.zcustom/packages.zsh deleted file mode 100644 index d4c1d17..0000000 --- a/shell/.zcustom/packages.zsh +++ /dev/null @@ -1,3 +0,0 @@ -zplug "romkatv/powerlevel10k", as:theme, depth:1 -zplug "rupa/z", use:z.sh -zplug "svenXY/timewarrior"