diff --git a/.zshrc b/.zshrc index 67edf39..70d218e 100644 --- a/.zshrc +++ b/.zshrc @@ -1,14 +1,14 @@ # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH -export GPG_TTY=$(tty) +export EMSDK_QUIET=1 # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" - +export GPG_TTY=$(tty) # 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="cloud" +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 @@ -23,9 +23,6 @@ ZSH_THEME="cloud" # Case-sensitive completion must be off. _ and - will be interchangeable. # HYPHEN_INSENSITIVE="true" -fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src -#ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ff00ff,bg=cyan,bold,underline" - # 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 @@ -44,7 +41,7 @@ fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src # DISABLE_AUTO_TITLE="true" # Uncomment the following line to enable command auto-correction. -ENABLE_CORRECTION="true" +# 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. @@ -73,11 +70,9 @@ ENABLE_CORRECTION="true" # 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 zsh-autosuggestions zsh-syntax-highlighting zsh-completions ubuntu themes vscode hacker-quotes you-should-use git-open) +plugins=(git zsh-autosuggestions zsh-syntax-highlighting zsh-completions) source $ZSH/oh-my-zsh.sh -source ~/antigen.zsh -source /usr/share/doc/find-the-command/ftc.zsh # User configuration @@ -96,6 +91,14 @@ source /usr/share/doc/find-the-command/ftc.zsh # Compilation flags # export ARCHFLAGS="-arch x86_64" +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. @@ -136,7 +139,10 @@ export PATH="$FLYCTL_INSTALL/bin:$PATH" # pnpm export PNPM_HOME="/home/bravo68web/.local/share/pnpm" -export PATH="$PNPM_HOME:$PATH" +case ":$PATH:" in + *":$PNPM_HOME:"*) ;; + *) export PATH="$PNPM_HOME:$PATH" ;; +esac # pnpm end eval "$(mcfly init zsh)" @@ -200,5 +206,32 @@ alias jctl="journalctl -p 3 -xb" # Recent installed packages alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl" +# ifconfig +alias ipconfig="ifconfig" + export PATH=$PATH:~/.cargo/bin/ alias firefox='firedragon' + +export PATH="$PATH:/home/bravo68web/.bin" +source "/home/bravo68web/Projects/Misc/emsdk/emsdk_env.sh" +export GITLAB_HOST="https://git.b68.dev" + +export JAVA_HOME=/usr/local/zing/ +export PATH=$PATH:/usr/local/sonar-scanner/bin +export PATH=$PATH:$JAVA_HOME/bin +export ANDROID_HOME=$HOME/Android/Sdk +export PATH=$PATH:$ANDROID_HOME/emulator +export PATH=$PATH:$ANDROID_HOME/platform-tools + +export PATH="$PATH:/home/bravo68web/.bin" + +# bun +export BUN_INSTALL="$HOME/.bun" +export PATH="$BUN_INSTALL/bin:$PATH" +source /etc/nhi/nhi.zsh + +fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src + +[ -f "/home/bravo68web/.ghcup/env" ] && source "/home/bravo68web/.ghcup/env" # ghcup-env +# Turso +export PATH="/home/bravo68web/.turso:$PATH"