diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-11 22:19:05 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-11 22:19:05 -0400 |
| commit | 17cf256dfcf32d298ff29115b747df2df678c7bc (patch) | |
| tree | 1a0cc2ca1d05aab831c1f223b3db6b9c7ac8f177 | |
| parent | Add starship and simplify fzf lua (diff) | |
| download | dotfiles-17cf256dfcf32d298ff29115b747df2df678c7bc.zip | |
Revert to basic zsh prompt
| -rwxr-xr-x | install.sh | 1 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/eugenetriguba/plugins/tree-sitter.lua | 1 | ||||
| -rw-r--r-- | starship/.config/starship.toml | 190 | ||||
| -rw-r--r-- | zsh/.zsh/prompt.sh | 10 |
4 files changed, 10 insertions, 192 deletions
@@ -30,7 +30,6 @@ main() { stow msmtp stow atuin stow lazygit - stow starship echo "Successfully linked all dotfiles." mkdir -p ~/Mail/Gmail/INBOX ~/Mail/iCloud/INBOX ~/bin/ ~/src/ diff --git a/nvim/.config/nvim/lua/eugenetriguba/plugins/tree-sitter.lua b/nvim/.config/nvim/lua/eugenetriguba/plugins/tree-sitter.lua index 1f57e46..07c8157 100644 --- a/nvim/.config/nvim/lua/eugenetriguba/plugins/tree-sitter.lua +++ b/nvim/.config/nvim/lua/eugenetriguba/plugins/tree-sitter.lua @@ -2,6 +2,7 @@ vim.pack.add { { name = 'nvim-treesitter', src = 'https://github.com/nvim-treesitter/nvim-treesitter', + version = 'main', }, { name = 'nvim-treesitter-context', diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml deleted file mode 100644 index a93f141..0000000 --- a/starship/.config/starship.toml +++ /dev/null @@ -1,190 +0,0 @@ -[aws] -symbol = " " - -[buf] -symbol = " " - -[bun] -symbol = " " - -[c] -symbol = " " - -[cpp] -symbol = " " - -[cmake] -symbol = " " - -[conda] -symbol = " " - -[crystal] -symbol = " " - -[dart] -symbol = " " - -[deno] -symbol = " " - -[directory] -read_only = " " - -[docker_context] -symbol = " " - -[elixir] -symbol = " " - -[elm] -symbol = " " - -[fennel] -symbol = " " - -[fossil_branch] -symbol = " " - -[gcloud] -symbol = " " - -[git_branch] -symbol = " " - -[git_commit] -tag_symbol = ' ' - -[golang] -symbol = " " - -[guix_shell] -symbol = " " - -[haskell] -symbol = " " - -[haxe] -symbol = " " - -[hg_branch] -symbol = " " - -[hostname] -ssh_symbol = " " - -[java] -symbol = " " - -[julia] -symbol = " " - -[kotlin] -symbol = " " - -[lua] -symbol = " " - -[memory_usage] -symbol = " " - -[meson] -symbol = " " - -[nim] -symbol = " " - -[nix_shell] -symbol = " " - -[nodejs] -symbol = " " - -[ocaml] -symbol = " " - -[os.symbols] -Alpaquita = " " -Alpine = " " -AlmaLinux = " " -Amazon = " " -Android = " " -Arch = " " -Artix = " " -CachyOS = " " -CentOS = " " -Debian = " " -DragonFly = " " -Emscripten = " " -EndeavourOS = " " -Fedora = " " -FreeBSD = " " -Garuda = " " -Gentoo = " " -HardenedBSD = " " -Illumos = " " -Kali = " " -Linux = " " -Mabox = " " -Macos = " " -Manjaro = " " -Mariner = " " -MidnightBSD = " " -Mint = " " -NetBSD = " " -NixOS = " " -Nobara = " " -OpenBSD = " " -openSUSE = " " -OracleLinux = " " -Pop = " " -Raspbian = " " -Redhat = " " -RedHatEnterprise = " " -RockyLinux = " " -Redox = " " -Solus = " " -SUSE = " " -Ubuntu = " " -Unknown = " " -Void = " " -Windows = " " - -[package] -symbol = " " - -[perl] -symbol = " " - -[php] -symbol = " " - -[pijul_channel] -symbol = " " - -[pixi] -symbol = " " - -[python] -symbol = " " - -[rlang] -symbol = " " - -[ruby] -symbol = " " - -[rust] -symbol = " " - -[scala] -symbol = " " - -[swift] -symbol = " " - -[zig] -symbol = " " - -[gradle] -symbol = " " diff --git a/zsh/.zsh/prompt.sh b/zsh/.zsh/prompt.sh index 53d565f..ef015fd 100644 --- a/zsh/.zsh/prompt.sh +++ b/zsh/.zsh/prompt.sh @@ -1,3 +1,11 @@ #!/usr/bin/env zsh -eval "$(starship init zsh)" +autoload -Uz vcs_info +zstyle ":vcs_info:*" enable git svn +zstyle ':vcs_info:git:*' formats '%F{green}(%b)%f ' +precmd() { + vcs_info +} +setopt prompt_subst +NEWLINE=$'\n' +PROMPT=' %2~ ${vcs_info_msg_0_}%# ' |