added some basic qol and path modifications

This commit is contained in:
venus
2026-06-02 01:46:52 -05:00
parent 8b360c8f7b
commit f1a014a38a
4 changed files with 37 additions and 23 deletions

20
.zshrc
View File

@@ -1,5 +1,4 @@
#!/bin/sh
# env vars to set on login, zsh settings in ~/config/zsh/.zshrc
#!/bin/sh env vars to set on login, zsh settings in ~/config/zsh/.zshrc
# added `export ZDOTDIR="$HOME/.config/zsh"` to /etc/zsh/zshenv in order to place this file at .config/zsh/.zprofile
# read first
@@ -27,9 +26,6 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export LESSHISTFILE="$XDG_CACHE_HOME/less_history"
export PYTHON_HISTORY="$XDG_DATA_HOME/python/history"
# add scripts to path
export PATH="$XDG_CONFIG_HOME/scripts:$PATH"
export PATH="$PATH:$HOME/.local/share/cargo/bin/"
# moving other files and some other vars
export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
@@ -67,14 +63,22 @@ export LESS_TERMCAP_se="$(printf '%b' '')"
export LESS_TERMCAP_us="$(printf '%b' '')"
export LESS_TERMCAP_ue="$(printf '%b' '')"
#source primary config script
source $XDG_CONFIG_HOME/zsh/zsh.config
# Created by `pipx` on 2026-03-26 01:09:22
# add custom elements to path
export PATH="$PATH:/home/venus/.local/bin"
export PATH="$PATH:$XDG_CONFIG_HOME/scripts"
export PATH="$PATH:$HOME/.local/share/cargo/bin/"
export PATH="$PATH:$HOME/.local/share/cargo/bin/"
export PATH="$PATH:$HOME/.luarocks/bin/"
export PATH="$PATH:$HOME/$GOBIN"
# Remove the default of run-help being aliased to man
unalias run-help
unalias run-help 2>/dev/null
# Use zsh's run-help, which will display information for zsh builtins.
autoload run-help
alias help="run-help"
#source primary config script
source $XDG_CONFIG_HOME/zsh/zsh.config