feat(new repo): First upload my configs
This commit is contained in:
commit
61634252af
|
@ -0,0 +1 @@
|
|||
Subproject commit c3d4e576c9c86eac62884bd47c01f6faed043fc5
|
|
@ -0,0 +1,87 @@
|
|||
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
#ZSH_THEME="robbyrussell"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
# a theme from this variable instead of looking in $ZSH/themes/
|
||||
# If set to an empty array, this variable will have no effect.
|
||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion.
|
||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment one of the following lines to change the auto-update behavior
|
||||
# zstyle ':omz:update' mode disabled # disable automatic updates
|
||||
# zstyle ':omz:update' mode auto # update automatically without asking
|
||||
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# zstyle ':omz:update' frequency 13
|
||||
|
||||
# Uncomment the following line if pasting URLs and other text is messed up.
|
||||
# DISABLE_MAGIC_FUNCTIONS="true"
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
# ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# You can also set it to another string to have that shown instead of the default red dots.
|
||||
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
|
||||
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# You can set one of the optional three formats:
|
||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# or set a custom format using the strftime function format specifications,
|
||||
# see 'man strftime' for details.
|
||||
# HIST_STAMPS="mm/dd/yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(git)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
#source ~/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
|
||||
|
||||
alias du="ncdu"
|
||||
alias cat="bat"
|
||||
alias ls="lsd"
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
# To custom config.zshize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
___MY_VMOPTIONS_SHELL_FILE="${HOME}/.jetbrains.vmoptions.sh"; if [ -f "${___MY_VMOPTIONS_SHELL_FILE}" ]; then . "${___MY_VMOPTIONS_SHELL_FILE}"; fi
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 41c5b467339d34460c921a1764c4da5a07cdddf7
|
|
@ -0,0 +1,232 @@
|
|||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
format = """
|
||||
$os\
|
||||
$battery\
|
||||
$username\
|
||||
$directory\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
$c\
|
||||
$rust\
|
||||
$golang\
|
||||
$nodejs\
|
||||
$php\
|
||||
$java\
|
||||
$kotlin\
|
||||
$haskell\
|
||||
$python\
|
||||
$docker_context\
|
||||
$conda\
|
||||
$time\
|
||||
$character"""
|
||||
|
||||
palette = 'gruvbox_dark'
|
||||
|
||||
[palettes.gruvbox_dark]
|
||||
color_fg0 = '#fbf1c7'
|
||||
color_fg1 = '#3c3836'
|
||||
color_fg3 = '#665c54'
|
||||
color_blue = '#458588'
|
||||
color_aqua = '#689d6a'
|
||||
color_green = '#98971a'
|
||||
color_orange = '#d65d0e'
|
||||
color_purple = '#b16286'
|
||||
color_red = '#cc241d'
|
||||
color_yellow = '#d79921'
|
||||
|
||||
[battery]
|
||||
format = '[$symbol]($style) '
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 0
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_red)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 10
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_red)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 20
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_yellow)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 30
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_green)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 40
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_aqua)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 50
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_aqua)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 60
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_aqua)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 70
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_aqua)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 80
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_aqua)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 90
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_aqua)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 100
|
||||
charging_symbol = "[ ](fg:color_blue)"
|
||||
discharging_symbol = "[ ](fg:color_aqua)"
|
||||
style = "bold fg:color_fg0"
|
||||
|
||||
|
||||
[os]
|
||||
disabled = false
|
||||
style = "fg:color_aqua"
|
||||
|
||||
[os.symbols]
|
||||
Windows = ""
|
||||
Ubuntu = ""
|
||||
SUSE = ""
|
||||
Raspbian = " "
|
||||
Mint = ""
|
||||
Macos = ""
|
||||
Manjaro = ""
|
||||
Linux = ""
|
||||
Gentoo = ""
|
||||
Fedora = ""
|
||||
Alpine = ""
|
||||
Amazon = ""
|
||||
Android = ""
|
||||
Arch = ""
|
||||
Artix = ""
|
||||
CentOS = ""
|
||||
Debian = ""
|
||||
Void = " "
|
||||
Redhat = ""
|
||||
RedHatEnterprise = ""
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bold fg:color_fg0"
|
||||
style_root = "bold fg:color_fg0"
|
||||
format = '[ $user ]($style)'
|
||||
|
||||
[directory]
|
||||
style = "fg:color_fg0 fg:color_yellow"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[directory.substitutions]
|
||||
"Documents" = " "
|
||||
"Downloads" = " "
|
||||
"Music" = " "
|
||||
"Pictures" = " "
|
||||
"Developer" = " "
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "fg:color_aqua"
|
||||
format = '[[ $symbol $branch ](fg:color_fg0 fg:color_aqua)]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "fg:color_aqua"
|
||||
format = '[[($all_status$ahead_behind )](fg:color_fg0 fg:color_aqua)]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[php]
|
||||
symbol = " "
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[kotlin]
|
||||
symbol = " "
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = " "
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[python]
|
||||
symbol = ""
|
||||
style = "fg:color_blue"
|
||||
format = '[[ $symbol( $version) ](fg:color_fg0 fg:color_blue)]($style)'
|
||||
|
||||
[docker_context]
|
||||
symbol = ""
|
||||
style = "fg:color_bg3"
|
||||
format = '[[ $symbol( $context) ](fg:#83a598 fg:color_bg3)]($style)'
|
||||
|
||||
[conda]
|
||||
style = "fg:color_bg3"
|
||||
format = '[[ $symbol( $environment) ](fg:#83a598 fg:color_bg3)]($style)'
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R"
|
||||
style = "bold fg:color_bg1"
|
||||
format = '[[ $time ](bold fg:color_fg0)]($style)'
|
||||
|
||||
[line_break]
|
||||
disabled = false
|
||||
|
||||
[character]
|
||||
disabled = false
|
||||
success_symbol = '[](bold fg:color_blue)'
|
||||
error_symbol = '[](bold fg:color_red)'
|
||||
vimcmd_symbol = '[](bold fg:color_aqua)'
|
||||
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
|
||||
vimcmd_replace_symbol = '[](bold fg:color_purple)'
|
||||
vimcmd_visual_symbol = '[](bold fg:color_yellow)'
|
|
@ -0,0 +1,27 @@
|
|||
-- Pull in the wezterm API
|
||||
local wezterm = require 'wezterm'
|
||||
|
||||
-- This will hold the configuration.
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
-- This is where you actually apply your config choices
|
||||
|
||||
-- For example, changing the color scheme:
|
||||
config.color_scheme = 'Pnevma'
|
||||
config.window_padding = {
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
}
|
||||
|
||||
config.animation_fps = 60
|
||||
config.default_cursor_style = 'BlinkingBar'
|
||||
|
||||
config.font = wezterm.font ("JetBrainsMono Nerd Font")
|
||||
config.font = wezterm.font_with_fallback {"JetBrainsMono Nerd Font"}
|
||||
config.hide_tab_bar_if_only_one_tab = true
|
||||
config.show_tab_index_in_tab_bar = false
|
||||
config.adjust_window_size_when_changing_font_size = true
|
||||
-- and finally, return the configuration to wezterm
|
||||
return config
|
Loading…
Reference in New Issue