Last active
June 3, 2026 10:20
-
-
Save hilios/36e6062cdc499a4febbe19063f47fe01 to your computer and use it in GitHub Desktop.
My Zshell config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set number | |
| set linebreak | |
| set showbreak=+++ | |
| set textwidth=100 | |
| set showmatch | |
| set spell | |
| set visualbell | |
| set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:< | |
| set list | |
| set guifont=Fira\ Code:15 | |
| set hlsearch | |
| set smartcase | |
| set gdefault | |
| set ignorecase | |
| set incsearch | |
| set autoindent | |
| set expandtab | |
| set shiftwidth=4 | |
| set smartindent | |
| set smarttab | |
| set softtabstop=4 | |
| set showtabline=2 | |
| set ruler | |
| set autochdir | |
| set undolevels=1000 | |
| set backspace=indent,eol,start | |
| syntax on | |
| colorscheme default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eval "$(starship init zsh)" | |
| eval "$(zoxide init zsh --cmd cd)" | |
| 7 # Home brew auto-completion | |
| 8 # https://carlosbecker.com/posts/speeding-up-zsh/ | |
| 9 autoload -Uz compinit | |
| 10 if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then | |
| 11 compinit; | |
| 12 else | |
| 13 compinit -C; | |
| 14 fi; | |
| # Plugins | |
| source <(fzf --zsh) | |
| source /opt/homebrew/share/antigen/antigen.zsh | |
| # Antigen | |
| antigen use oh-my-zsh | |
| antigen bundle git | |
| antigen bundle git-extras | |
| antigen bundle git-flow | |
| antigen bundle pip | |
| antigen bundle npm | |
| antigen bundle bat | |
| antigen bundle command-not-found | |
| antigen bundle common-aliases | |
| antigen bundle djui/alias-tips | |
| antigen bundle zsh-users/zsh-syntax-highlighting | |
| antigen bundle zsh-users/zsh-autosuggestions | |
| antigen bundle zsh-users/zsh-completions | |
| antigen apply | |
| # Aliases | |
| alias zshrc="vi ~/.zshrc" | |
| alias reload="exec zsh" | |
| # Open files with bat | |
| for md txt json yaml yml toml xml html css js ts tsx jsx sh zsh bash py rb go rs java kt scala sql log conf ini env; do | |
| alias -s "$ext"='bat' | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language = en | |
| font-size = 16 | |
| font-thicken = true | |
| font-family = "Roboto Nerd Font" | |
| font-feature = +calt | |
| theme = "Dracula" | |
| macos-icon = "xray" | |
| background-blur = macos-glass-regular | |
| background-opacity = 0.9 | |
| window-padding-x = 4 | |
| window-inherit-working-directory = false | |
| split-inherit-working-directory = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "$schema" = 'https://starship.rs/config-schema.json' | |
| format = """ | |
| [](color_orange)\ | |
| $os\ | |
| $username\ | |
| [](bg:color_yellow fg:color_orange)\ | |
| $directory\ | |
| [](fg:color_yellow bg:color_aqua)\ | |
| $git_branch\ | |
| $git_status\ | |
| [](fg:color_aqua bg:color_blue)\ | |
| $c\ | |
| $cpp\ | |
| $rust\ | |
| $golang\ | |
| $nodejs\ | |
| $bun\ | |
| $php\ | |
| $java\ | |
| $kotlin\ | |
| $haskell\ | |
| $python\ | |
| [](fg:color_blue bg:color_bg3)\ | |
| $docker_context\ | |
| $conda\ | |
| $pixi\ | |
| [](fg:color_bg3 bg:color_bg1)\ | |
| $time\ | |
| [ ](fg:color_bg1)\ | |
| $line_break$character""" | |
| palette = 'gruvbox_dark' | |
| [palettes.gruvbox_dark] | |
| color_fg0 = '#fbf1c7' | |
| color_bg1 = '#3c3836' | |
| color_bg3 = '#665c54' | |
| color_blue = '#458588' | |
| color_aqua = '#689d6a' | |
| color_green = '#03be00' | |
| color_orange = '#d65d0e' | |
| color_purple = '#b16286' | |
| color_red = '#cc241d' | |
| color_yellow = '#d79921' | |
| [os] | |
| disabled = false | |
| style = "bg:color_orange fg:color_fg0" | |
| [os.symbols] | |
| Windows = "" | |
| Ubuntu = "" | |
| SUSE = "" | |
| Raspbian = "" | |
| Mint = "" | |
| Macos = "" | |
| Manjaro = "" | |
| Linux = "" | |
| Gentoo = "" | |
| Fedora = "" | |
| Alpine = "" | |
| Amazon = "" | |
| Android = "" | |
| AOSC = "" | |
| Arch = "" | |
| Artix = "" | |
| EndeavourOS = "" | |
| CentOS = "" | |
| Debian = "" | |
| Redhat = "" | |
| RedHatEnterprise = "" | |
| Pop = "" | |
| [username] | |
| show_always = true | |
| style_user = "bg:color_orange fg:color_fg0" | |
| style_root = "bg:color_orange fg:color_fg0" | |
| format = '[ $user ]($style)' | |
| [directory] | |
| style = "fg:color_fg0 bg:color_yellow" | |
| format = "[ $path ]($style)" | |
| truncation_length = 3 | |
| truncation_symbol = "…/" | |
| [directory.substitutions] | |
| "Documents" = " " | |
| "Downloads" = " " | |
| "Music" = " " | |
| "Pictures" = " " | |
| "Developer" = " " | |
| "Workspace" = " " | |
| [git_branch] | |
| symbol = "" | |
| style = "bg:color_aqua" | |
| format = '[[ $symbol $branch ](fg:color_fg0 bg:color_aqua)]($style)' | |
| [git_status] | |
| style = "bg:color_aqua" | |
| format = '[[($all_status$ahead_behind )](fg:color_fg0 bg:color_aqua)]($style)' | |
| [nodejs] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [bun] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [c] | |
| symbol = " " | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [cpp] | |
| symbol = " " | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [rust] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [golang] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [php] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [java] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [kotlin] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [haskell] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [python] | |
| symbol = "" | |
| style = "bg:color_blue" | |
| format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' | |
| [docker_context] | |
| symbol = "" | |
| style = "bg:color_bg3" | |
| format = '[[ $symbol( $context) ](fg:#83a598 bg:color_bg3)]($style)' | |
| [conda] | |
| style = "bg:color_bg3" | |
| format = '[[ $symbol( $environment) ](fg:#83a598 bg:color_bg3)]($style)' | |
| [pixi] | |
| style = "bg:color_bg3" | |
| format = '[[ $symbol( $version)( $environment) ](fg:color_fg0 bg:color_bg3)]($style)' | |
| [time] | |
| disabled = false | |
| time_format = "%R" | |
| style = "bg:color_bg1" | |
| format = '[[ $time ](fg:color_fg0 bg:color_bg1)]($style)' | |
| [line_break] | |
| disabled = false | |
| [character] | |
| disabled = false | |
| success_symbol = '[λ](bold fg:color_green)' | |
| error_symbol = '[λ](bold fg:color_red)' | |
| vimcmd_symbol = '[](bold fg:color_green)' | |
| vimcmd_replace_one_symbol = '[](bold fg:color_purple)' | |
| vimcmd_replace_symbol = '[](bold fg:color_purple)' | |
| vimcmd_visual_symbol = '[](bold fg:color_yellow)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment