This commit is contained in:
sankalp committed 2025-07-11 10:52:22 +05:45
1 parent af71e90446
commit e0867e8aa9
8 files changed
+5757 -167

No files matched your search

-4
View File
@@ -1,4 +0,0 @@
prefix=${XDG_DATA_HOME}/npm
cache=${XDG_CACHE_HOME}/npm
tmp=${XDG_RUNTIME_DIR}/npm
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js
Executable → Regular
+60 -142
View File
@@ -1,173 +1,91 @@
add_newline = false
command_timeout = 1000
format = """
$character\
[](fg:white bg:bright-black)\
[█](fg:bright-black bg:black)\
$directory\
[█](fg:bright-black bg:black)\
[$git_branch\
$git_state\
$git_status](bold bg:black fg:white)\
$fill\
$cmd_duration\
[](fg:red bg:black)\
[ ](fg:black bg:red)\
$username\
[](fg:green bg:bright-black)\
[󰌽 ](fg:green bg:black inverted)\
$hostname\
$line_break\
[‎]()"""
[character]
error_symbol = "[ ✗](bold red)"
success_symbol = "[ λ](bold red)"
format = "$symbol"
error_symbol = "[█](fg:red bg:black)[ ERROR](fg:red bg:black inverted bold)[](fg:red bg:white)"
success_symbol = "[█](fg:bright-white bg:black)[ PROMPT](fg:bright-white bg:black inverted bold)[](fg:bright-white bg:white)"
[fill]
symbol = ' '
style = 'bg:black'
[package]
disabled = false
[cmd_duration]
min_time = 5000
show_milliseconds = false
min_time = 1000
show_milliseconds = true
disabled = false
format="[$duration]($style)"
style="italic blue"
format="[󰞌 $duration ]($style)"
style="bold bg:black"
[directory]
truncation_length = 5
format = "[$path]($style)[$lock_symbol]($lock_style) "
style = "bold yellow"
format = "[󰉋 $path]($style)[$lock_symbol]($lock_style)"
style = "bold fg:bright-white bg:bright-black"
read_only = "🔒"
read_only_style= "bold white"
[username]
show_always = true
style_user = "bg:bright-black"
style_root = "bg:bright-black"
format = '[ $user ]($style)'
[hostname]
format = "[ $hostname ]($style)"
ssh_only = false
trim_at = ".companyname.com"
disabled = false
style = "bold italic green"
[git_branch]
symbol = ""
style = "fg:#a6e3a1 bg:#252a3e"
format = '[ $symbol $branch(:$remote_branch) ]($style)'
style = "fg:green bg:bright-black"
[git_commit]
commit_hash_length = 8
style = "bold white"
[git_status]
style = "fg:#a6e3a1 bg:#252a3e"
ahead = "⇡${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
deleted = "x"
format = '[$all_status$ahead_behind ]($style)'
[aws]
symbol = " "
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[conda]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[dart]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[c]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[docker_context]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol $context]($style) $path '
[elixir]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[elm]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[golang]
symbol = "ﳑ"
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[haskell]
symbol = "λ"
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[java]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[julia]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[lua]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[nim]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[nix_shell]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[nodejs]
symbol = ""
style = "fg:#cba6f7 bg:#f00"
format = '[ $symbol ($version )]($style)'
[perl]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[php]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[python]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[ruby]
symbol = ""
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[rust]
symbol = "🦀"
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[swift]
symbol = "ﯣ"
style = "fg:#cba6f7 bg:#2c324a"
format = '[ $symbol ($version )]($style)'
[memory_usage]
format = "[${ram}( | ${swap})]($style) "
threshold = 50
style = "bold dimmed white"
disabled = true
[status]
style = "bg:transparent"
symbol = "💥 "
# format = '[\[$symbol$status\]]($style) '
format = '($style)'
disabled = false
[git_branch]
format = " 󰘬 $branch"
style = "bold fg:bright-black bg:black"
[dotnet]
symbol = "🥅 "
style = "green"
heuristic = false
[git_status]
format = " $conflicted$untracked$modified$staged$renamed$deleted$ahead_behind$stashed"
style = "cyan"
conflicted = ""
untracked = ""
modified = ""
staged = ""
renamed = ""
deleted = ""
stashed = "≡"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "cyan"
+8 -6
View File
@@ -1,3 +1,4 @@
set -g status-interval 1
set -g status-left-length 100
@@ -5,13 +6,14 @@ set -g status-left "#{?pane_in_mode,#[bold fg=black]#[bg=yellow]  COPY #[fg=y
set -ag status-left "#[fg=white bg=brightblack]"
# Agregar el nombre de la sesión
set -ag status-left "#[fg=brightwhite bg=brightblack] #S "
# Add the session name
set -ag status-left "#[fg=brightwhite bg=brightblack] #(basename $SHELL) "
set -ag status-left "#[fg=brightblack bg=black]"
set -ag status-left "#[fg=white] #{pane_current_command} · #{}"
set -ag status-left "#[fg=white] #S · #{}"
set -g status-right "#[fg=brightwhite] #{pane_current_command} "
set -g status-right "#[fg=brightwhite] #(basename $SHELL) "
# CPU
set -ag status-right "#[fg=red]#[fg=black bg=red] #[fg=brightwhite bg=brightblack] #{cpu_percentage} "
# RAM
@@ -25,8 +27,8 @@ set -g status-fg white
set -g pane-active-border-style "fg=blue"
set -g pane-border-style "fg=black"
# Ventanas inactivas
# Inactive windows
set -g window-status-format "#[fg=grey] #[default]#{b:pane_current_path}"
# Ventana activa
# Active window
set -g window-status-current-format "#[fg=brightwhite] #[bold]#{b:pane_current_path}"
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+19 -12
View File
@@ -1,8 +1,9 @@
##
## PATH & ENV Var
##
export PATH="$PNPM_HOME:$PATH"
export PATH="$HOME/.scripts:$PATH"
export PATH="$HOME/.local/bin:$PATH"
@@ -11,16 +12,21 @@ export PATH="$HOME/.local/bin:$PATH"
export CARGO_HOME="$HOME/.local/state/cargo"
export RUSTUP_HOME="$HOME/.local/state/rustup"
# node (npm & yarn)
export NPM_CONFIG_CACHE="$HOME/.local/state/npm/cache"
npm config set prefix "$XDG_STATE_HOME/npm/prefix"
export PATH="$HOME/.local/state/npm/prefix/bin:$PATH"
#npm
export NPM_CONFIG_CACHE="$XDG_STATE_HOME/npm/cache"
export PATH="$HOME/.npm-global/bin:$PATH"
# yarn
export YARN_CACHE_FOLDER="$XDG_STATE_HOME/yarn"
#pnpm
#
# # pnpm
export PNPM_HOME="$XDG_STATE_HOME/pnpm"
export PNPM_STORE_PATH="$XDG_STATE_HOME/pnpm/store"
export PATH="$PNPM_HOME:$PATH"
#python
export XDG_CACHE_HOME="$HOME/.cache" # pip respects this for cache
@@ -31,7 +37,7 @@ export DOCKER_CONFIG="$XDG_STATE_HOME/docker"
#Go
export GOPATH="$XDG_STATE_HOME/go"
export GOPATH="$XDG_STATE_HOME/.local/go"
export PATH="$GOPATH/bin:$PATH"
@@ -44,7 +50,7 @@ export EDITOR="nvim"
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
export PATH=$JAVA_HOME/bin:$PATH
export XDG_CONFIG_HOME="$HOME/.config"
@@ -63,11 +69,12 @@ export XDG_MUSIC_DIR="$HOME/Music"
export XDG_PICTURES_DIR="$HOME/Pictures"
export XDG_VIDEOS_DIR="$HOME/Videos"
export GOPATH="$XDG_DATA_HOME/go"
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
export GOPATH="$XDG_DATA_HOME/.local/go"
export GOMODCACHE="$XDG_CACHE_HOME/.local/go/mod"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export RUSTUP_HOME="XDG_DATA_HOME/rustup"
export ANDROID_HOME="$XDG_DATA_HOME/android"
# export ANDROID_HOME="$XDG_DATA_HOME/android"
export ANDROID_HOME=/opt/android-sdk
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
export PYENV_ROOT="$XDG_DATA_HOME/pyenv"
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc"
+3 -3
View File
@@ -39,7 +39,7 @@ ZSH_HIGHLIGHT_MAXLENGTH=512
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=$color8,bold"
while read -r opt
do
do
setopt $opt
done <<-EOF
AUTOCD
@@ -67,7 +67,7 @@ HIST_REDUCE_BLANKS
EOF
while read -r opt
do
do
unsetopt $opt
done <<-EOF
FLOWCONTROL
@@ -77,7 +77,7 @@ EQUALS
EOF
command -v zoxide &>/dev/null && eval "$(zoxide init zsh)"
eval "$(fnm env --use-on-cd)"
# eval "$(fnm env --use-on-cd)"
# Set editor default keymap to emacs (`-e`) or vi (`-v`)
bindkey -e