From: Huck Boles Date: Thu, 14 Sep 2023 15:14:03 +0000 (-0700) Subject: edited: wsl configurations X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=bbf245d58b39c04ddf1d572e3aa59b37061b299c;p=zsh.git edited: wsl configurations --- diff --git a/.zshenv b/.zshenv index d3ca190..831e396 100644 --- a/.zshenv +++ b/.zshenv @@ -25,7 +25,7 @@ export CONFIG="$XDG_CONFIG_HOME" export LANG=en_US.UTF-8 # path variables -export PATH="$PATH:$HOME/.local/bin:$REPOS/script:$REPOS/ruby:." +export PATH="$PATH:$HOME/.local/bin:$HOME/repos/julia/" export CDPATH=".:$HOME:$HOME/$REPOS:$HOME/$XDG_CONFIG_HOME:/" # language variables @@ -36,14 +36,6 @@ export CARGO_HOME="$XDG_DATA_HOME/cargo" export RUSTUP_HOME="$XDG_DATA_HOME/rustup" export PATH="$XDG_DATA_HOME/cargo/bin:$PATH" -# compiler variables -export LLVM_PREFIX="/usr/lib/llvm/16/bin" -export CC="$LLVM_PREFIX/clang" -export CXX="$LLVM_PREFIX/clang++" -export AR="$LLVM_PREFIX/llvm-ar" -export NM="$LLVM_PREFIX/llvm-nm" -export RANLIB="$LLVM_PREFIX/llvm-ranlib" - # preferred programs export PAGER='/usr/bin/less' export LESS='-R --use-color -Dd+r$Du+b' @@ -54,14 +46,6 @@ export VISUAL="/usr/bin/nvim" export BROWSER="/usr/bin/firefox" export EMAIL='huck@huck.website' -# config paths -export GTK_2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc" -export LESSHISTFILE="$XDG_STATE_HOME/less/history" -export TERMINFO="$XDG_DATA_HOME/terminfo" -export TERMINFO_DIRS="$XDG_DATA_HOME/terminfo:/usr/share/terminfo" -export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc" -export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv" - # zoxide export _ZO_ECHO='1' export _ZO_RESOLVE_SYMLINKS='1' diff --git a/.zshrc b/.zshrc index a7354c7..4acfa8d 100644 --- a/.zshrc +++ b/.zshrc @@ -58,7 +58,7 @@ bindkey "\e[2~" quoted-insert # custom prompt if [[ -n $SSH_CONNECTION ]]; then PROMPT='%(?..%B%F{red}x) -%B%F{yellow}%n%b%f@%B%F{red}%m%b%f: %F{blue}%~ %F{red}[SSH] %F{magenta}[gentoo] %f$(git_prompt_enhanced_status) +%B%F{yellow}%n%b%f@%B%F{red}%m%b%f: %F{blue}%~ %F{red}[SSH] %F{blue}[WSL] %f$(git_prompt_enhanced_status) %B%F{green}%(!.#.$) %f%b> ' RPROMPT='%f[%!]' else diff --git a/include/aliases.zsh b/include/aliases.zsh index aca5af1..b8d1c8f 100644 --- a/include/aliases.zsh +++ b/include/aliases.zsh @@ -25,7 +25,7 @@ alias h='history 0' alias j='jobs -l' alias c='clear' alias zc='cd;clear' -alias cd='z ' +# alias cd='z ' alias rename='perl-rename' alias make='make -j16 -l6 CFLAGS="-march=bdver1"' @@ -44,9 +44,3 @@ alias diff='diff --color' # tmux aliases alias tattach='tmux attach-session -t' - -# config aliases -alias wget='wget --hsts-file="$XDG_DATA_HOME/wget-hsts"' -alias xrdb='xrdb -load "$XDG_CONFIG_HOME/X11/xresources"' -alias background='feh --bg-fill --no-fehbg --randomize /home/huck/drive/library/photos/background' -alias nvidia-settings='nvidia-settings --config=$XDG_CONFIG_HOME/nvidia/settings' diff --git a/include/plugins.zsh b/include/plugins.zsh index c9e4207..2c400eb 100644 --- a/include/plugins.zsh +++ b/include/plugins.zsh @@ -13,7 +13,7 @@ if [[ ! -d $ZSHEXTRA/zsh-fast-syntax-highlighting ]]; then git clone 'https://github.com/zdharma-continuum/fast-syntax-highlighting' "$ZSHEXTRA/zsh-fast-syntax-highlighting" fi source $ZSHEXTRA/zsh-fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh -fast-theme -q $ZSH/extra/zsh-fast-syntax-highlighting/themes/custom.ini +# fast-theme -q $ZSH/extra/zsh-fast-syntax-highlighting/themes/custom.ini # up arrow history search of partial commands if [[ ! -d $ZSHEXTRA/zsh-history-substring-search ]]; then