From 4a06570fea24b90e155c7b53a322af6153131aa5 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 31 Oct 2022 03:02:27 +0000 Subject: [PATCH] add more stuffs --- dot_config/private_M365Princess.omp.json | 75 ++++++++++++++ dot_config/starship.toml | 124 +++++++++++++++++++++++ dot_gitconfig | 18 ++++ 3 files changed, 217 insertions(+) create mode 100644 dot_config/private_M365Princess.omp.json create mode 100644 dot_config/starship.toml create mode 100644 dot_gitconfig diff --git a/dot_config/private_M365Princess.omp.json b/dot_config/private_M365Princess.omp.json new file mode 100644 index 0000000..fb306ab --- /dev/null +++ b/dot_config/private_M365Princess.omp.json @@ -0,0 +1,75 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "version": 2, + "final_space": true, + "blocks": [ + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "foreground": "#757575", + "style": "plain", + "template": "\u250c ", + "type": "text" + }, + { + "type": "path", + "style": "powerline", + "foreground": "#cba6f7", + "leading_diamond": "\ue0b0", + "template": "{{ .Path }} ", + "properties": { + "style": "folder" + } + }, + { + "type": "git", + "style": "plain", + "foreground": "#f5c2e7", + "template": "on {{ .UpstreamIcon }}{{ .HEAD }} ", + "properties": { + "fetch_upstream_icon": true + } + }, + { + "type": "node", + "style": "plain", + "foreground": "#fab387", + "template": "via \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + { + "type": "go", + "style": "plain", + "foreground": "#fab387", + "template": "via \uFCD1 {{ .Full }} " + }, + { + "type": "haskell", + "style": "plain", + "foreground": "#fab387", + "template": "via \ue61f {{ .Full }}" + } + ] + }, + { + "type": "prompt", + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "#757575", + "style": "plain", + "template": "\u2514 ", + "type": "text" + }, + { + "foreground": "#ffffff", + "style": "plain", + "template": "$", + "type": "text" + } + ] + } + ] +} diff --git a/dot_config/starship.toml b/dot_config/starship.toml new file mode 100644 index 0000000..5f779c7 --- /dev/null +++ b/dot_config/starship.toml @@ -0,0 +1,124 @@ +# Get editor completions based on the config schema +"$schema" = 'https://starship.rs/config-schema.json' + +# format = """ +# [┌](bold green)\\$all +# [└ $](bold green) """ + +[character] # The name of the module we are configuring is "character" +success_symbol = "[\\$](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green" +error_symbol = "[\\$](bold red)" # The "success_symbol" segment is being set to "➜" with the color "bold green" +vimcmd_symbol = "[\\$](bold green)" + +[aws] +style = "#74c7ec bold" +symbol = " " + +[buf] +style = "#74c7ec bold" +symbol = " " + +[c] +style = "#74c7ec bold" +symbol = " " + +[conda] +style = "#74c7ec bold" +symbol = " " + +[dart] +style = "#74c7ec bold" +symbol = " " + +[directory] +style = "#cba6f7 bold" +read_only = " " + +[docker_context] +style = "#74c7ec bold" +symbol = " " + +[elixir] +style = "#74c7ec bold" +symbol = " " + +[elm] +style = "#74c7ec bold" +symbol = " " + +[git_branch] +symbol = " " + +[golang] +style = "#74c7ec bold" +symbol = " " + +[haskell] +style = "#74c7ec bold" +symbol = " " + +[hg_branch] +style = "#74c7ec bold" +symbol = " " + +[java] +style = "#74c7ec bold" +symbol = " " + +[julia] +style = "#74c7ec bold" +symbol = " " + +[lua] +style = "#74c7ec bold" +symbol = " " + +[memory_usage] +# disabled = false +# threshold = -1 +# style = "bold dimmed green" +style = "#74c7ec bold" +symbol = " " + +[meson] +style = "#74c7ec bold" +symbol = "喝 " + +[nim] +style = "#74c7ec bold" +symbol = " " + +[nix_shell] +style = "#74c7ec bold" +symbol = " " + +[nodejs] +style = "#74c7ec bold" +symbol = " " + +[package] +style = "#fab387 bold" +symbol = " " + +[python] +style = "#74c7ec bold" +symbol = " " + +[rlang] +style = "#74c7ec bold" +symbol = "ﳒ " + +[ruby] +style = "#74c7ec bold" +symbol = " " + +[rust] +style = "#74c7ec bold" +symbol = " " + +[scala] +style = "#74c7ec bold" +symbol = " " + +[spack] +style = "#74c7ec bold" diff --git a/dot_gitconfig b/dot_gitconfig new file mode 100644 index 0000000..8cb03da --- /dev/null +++ b/dot_gitconfig @@ -0,0 +1,18 @@ +# This is Git's per-user configuration file. +[user] + name = sgoudham + email = sgoudham@gmail.com + signingkey = 44E818FD5457EEA4 +[commit] + gpgsign = true +[gpg] + program = /mnt/c/Program Files (x86)/GnuPG/bin/gpg.exe +[credential] + helper = /mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager-core.exe +[core] + autocrlf = input + editor = lvim +[push] + autoSetupRemote = true +[init] + defaultBranch = main