Compare commits

..

2 Commits

Author SHA1 Message Date
Valeriy Filippov
37f0a3c699 Update readmes 2026-03-06 13:01:51 +03:00
Valeriy Filippov
5105e92e5f Add starship 2026-03-06 13:01:41 +03:00
5 changed files with 117 additions and 14 deletions

5
.gitignore vendored
View File

@@ -3,7 +3,10 @@
!README.md !README.md
**/.DS_Store **/.DS_Store
!ghostty/
!nvim/ !nvim/
nvim/lazy-lock.json nvim/lazy-lock.json
nvim/lazyvim.json nvim/lazyvim.json
!ghostty/
!starship.toml

View File

@@ -1 +1,42 @@
Файлы необходимо распологать в директории `~/.config` > [!NOTE]
> - My preferred method of installation is [Homebrew](https://brew.sh/), but it doesn't restrict the possibility of installing using other methods.
>
> - Files must be stored in the `~/.config` directory.
## Installation
### Brew
https://brew.sh/
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
### NeoVim
https://github.com/neovim/neovim
```shell
brew install neovim
```
### Ghostty
https://ghostty.org/download
### Starship
https://starship.rs/
```shell
brew install starship
```
Add to `.zshrc`
```
plugins=(
...
starship
...
)
```

View File

@@ -2,6 +2,6 @@
Add to your default ghostty config in `~/Library/Application Support/com.mitchellh.ghostty/config` for use this file Add to your default ghostty config in `~/Library/Application Support/com.mitchellh.ghostty/config` for use this file
```txt ```
config-file = ~/.config/ghostty/config config-file = ~/.config/ghostty/config
``` ```

View File

@@ -1,15 +1,7 @@
### NB >[!NOTE]
> - My preferred method of installation is [Homebrew](https://brew.sh/), but it doesn't restrict the possibility of installing using other methods.
Мой предпочитаемый вариант установки [brew](https://brew.sh/), но так же можно найти репозитории необходимых зависимостей и учтановить их другими методами. ### Requirements
### Установка neovim
```bash
# https://github.com/neovim/neovim
brew install neovim
```
### Установка зависимостей
```bash ```bash
# https://github.com/junegunn/fzf # https://github.com/junegunn/fzf

67
starship.toml Normal file
View File

@@ -0,0 +1,67 @@
format = """
 \
$directory\
$git_branch\
$git_state\
$git_status\
$kubernetes\
$cmd_duration\
$line_break\
$character"""
# Inserts a blank line between shell prompts
add_newline = true
#Wait for command exec in ms
#command_timeout = 300
# Use the color palette
palette = "catppuccin_mocha"
[character]
error_symbol = "[▷](bold red)"
success_symbol = "[▷](bold green)"
[cmd_duration]
style = "bold yellow"
[directory]
style = "bold green"
[git_branch]
style = "bold pink"
[git_status]
style = "bold red"
[kubernetes]
disabled = false
format = 'ctx [$symbol$context]($style)'
[palettes.catppuccin_mocha]
rosewater = "#f5e0dc"
flamingo = "#f2cdcd"
pink = "#f5c2e7"
mauve = "#cba6f7"
red = "#f38ba8"
maroon = "#eba0ac"
peach = "#fab387"
yellow = "#f9e2af"
green = "#a6e3a1"
teal = "#94e2d5"
sky = "#89dceb"
sapphire = "#74c7ec"
blue = "#89b4fa"
lavender = "#b4befe"
text = "#cdd6f4"
subtext1 = "#bac2de"
subtext0 = "#a6adc8"
overlay2 = "#9399b2"
overlay1 = "#7f849c"
overlay0 = "#6c7086"
surface2 = "#585b70"
surface1 = "#45475a"
surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"