added some basic qol and path modifications
This commit is contained in:
20
.zshrc
20
.zshrc
@@ -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' '[0m')"
|
||||
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
||||
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
||||
|
||||
#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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user