]> git.huck.website - zsh.git/commitdiff
edited: wsl configurations
authorHuck Boles <huck.boles@metalplasmatechnology.com>
Thu, 14 Sep 2023 15:14:03 +0000 (08:14 -0700)
committerHuck Boles <huck.boles@metalplasmatechnology.com>
Thu, 14 Sep 2023 15:14:03 +0000 (08:14 -0700)
.zshenv
.zshrc
include/aliases.zsh
include/plugins.zsh

diff --git a/.zshenv b/.zshenv
index d3ca1906f787d40559770d614b8cceb08b7f2784..831e3964e4b206feda9313c648d72e042ea72c8f 100644 (file)
--- 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 a7354c730db33add4bb476ea5bed1f7440db214d..4acfa8d38c4fe2de80f1a3d6f4920fbb8bc8770a 100644 (file)
--- 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
index aca5af12507581efb39fd6185f2720af56e77e1e..b8d1c8f714a0100b7669d78a8a7517baa84f7667 100644 (file)
@@ -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'
index c9e4207b7e707eaea1c377fbe9156f666b6a4d10..2c400eb9d5afe8f25cd5a5aec95036456688322d 100644 (file)
@@ -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