fix: minor fixs and removed n3 to use spf

This commit is contained in:
oxypomme
2025-02-12 10:05:19 +01:00
parent 30a8c16816
commit 8b162be7d1
6 changed files with 66 additions and 55 deletions

18
.zshrc
View File

@@ -10,7 +10,7 @@ fi
export DENO_INSTALL="/home/sublet/.deno"
export GO_INSTALL="/usr/local/go"
export PATH="$GO_INSTALL/bin:$DENO_INSTALL/bin:$PATH"
export PATH="$GO_INSTALL/bin:$DENO_INSTALL/bin:$HOME/AppImages:$PATH"
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
@@ -99,7 +99,6 @@ plugins=(
fzf
fzf-tab
zsh-autosuggestions
# zsh-autocomplete
zsh-syntax-highlighting
)
@@ -131,12 +130,13 @@ prompt_context() {}
export PYTHONPATH=/usr/bin/python3
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
[[ ! -f "${ZSH}/custom/scripts/n.zsh" ]] || source $ZSH/custom/scripts/n.zsh # nnn config
[[ ! -f "${HOME}/.p10k.zsh" ]] || source "${HOME}/.p10k.zsh"
[[ ! -f "${ZSH}/custom/scripts/i3lock.zsh" ]] || source $ZSH/custom/scripts/i3lock.zsh # i3lock
[[ ! -f "${HOME}/.config/tabtab/zsh/__tabtab.zsh" ]] || source ~/.config/tabtab/zsh/__tabtab.zsh # tabtab
EZREEPORT_ADMIN_AC_ZSH_SETUP_PATH="${HOME}/.cache/ezreeport-admin/autocomplete/zsh_setup" && test -f $EZREEPORT_ADMIN_AC_ZSH_SETUP_PATH && source $EZREEPORT_ADMIN_AC_ZSH_SETUP_PATH; # ezreeport-admin autocomplete setup
# nvm
# zstyle ':omz:plugins:nvm' autoload yes
@@ -151,7 +151,6 @@ typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias "docker-compose"="docker compose"
alias nnn="n"
alias ls="/bin/eza --icons"
alias tree="/bin/eza --icons -T"
@@ -162,7 +161,6 @@ alias curl="curlie"
alias df="duf"
alias grep="ugrep"
alias ping="prettyping"
alias find="fzf"
# Set personal aliases with autocomplete
# kssh() {
@@ -187,3 +185,11 @@ setopt HIST_IGNORE_SPACE # Dont record an entry starting with a space
setopt HIST_SAVE_NO_DUPS # Dont write duplicate entries in the history file
setopt SHARE_HISTORY # Share history between all sessions
unsetopt HIST_VERIFY # Execute commands using history (e.g.: using !$) immediatel
# pnpm
export PNPM_HOME="/home/sublet/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end