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

View File

@@ -1,4 +1,4 @@
#files: 880 version: 5.9 #files: 885 version: 5.9
_comps=( _comps=(
'-' '_precommand' '-' '_precommand'
@@ -368,6 +368,7 @@ _comps=(
'fixwwps' '_psutils' 'fixwwps' '_psutils'
'flac' '_flac' 'flac' '_flac'
'flameshot' '_flameshot' 'flameshot' '_flameshot'
'flatpak' '_flatpak'
'flex' '_flex' 'flex' '_flex'
'flex++' '_flex' 'flex++' '_flex'
'flipdiff' '_patchutils' 'flipdiff' '_patchutils'
@@ -451,6 +452,7 @@ _comps=(
'git' '_git' 'git' '_git'
'git-cvsserver' '_git' 'git-cvsserver' '_git'
'gitk' '_git' 'gitk' '_git'
'gitleaks' '_gitleaks'
'git-receive-pack' '_git' 'git-receive-pack' '_git'
'git-shell' '_git' 'git-shell' '_git'
'git-upload-archive' '_git' 'git-upload-archive' '_git'
@@ -737,6 +739,7 @@ _comps=(
'ltrace' '_ltrace' 'ltrace' '_ltrace'
'lua' '_lua' 'lua' '_lua'
'luarocks' '_luarocks' 'luarocks' '_luarocks'
'luarocks-admin' '_luarocks-admin'
'lynx' '_lynx' 'lynx' '_lynx'
'lz4' '_lz4' 'lz4' '_lz4'
'lz4c' '_lz4' 'lz4c' '_lz4'
@@ -1256,6 +1259,7 @@ _comps=(
'svnliteadmin' '_subversion' 'svnliteadmin' '_subversion'
'swaks' '_swaks' 'swaks' '_swaks'
'swanctl' '_swanctl' 'swanctl' '_swanctl'
'swayimg' '_swayimg'
'swaylock' '_swaylock' 'swaylock' '_swaylock'
'swift' '_swift' 'swift' '_swift'
'swiftc' '_swift' 'swiftc' '_swift'
@@ -1740,19 +1744,20 @@ autoload -Uz _bat _bluetoothctl _bootctl _busctl _bwrap \
_calibre _cargo _coredumpctl _ctr _curl \ _calibre _cargo _coredumpctl _ctr _curl \
_deno _dkms _dng _dngconverter _docker \ _deno _dkms _dng _dngconverter _docker \
_dolphin _email-notmuch _exercism _eza _fastfetch \ _dolphin _email-notmuch _exercism _eza _fastfetch \
_flameshot _hostnamectl _hyprctl _hyprdynamicmonitors _hyprpm \ _flameshot _flatpak _gitleaks _hostnamectl _hyprctl \
_hyprshade _hyprshell _img2sixel _insmod _john \ _hyprdynamicmonitors _hyprpm _hyprshade _hyprshell _img2sixel \
_journalctl _kdeconnect _kernel-install _keyring _kitty \ _insmod _john _journalctl _kdeconnect _kernel-install \
_localectl _loginctl _lsmod _machinectl _medusa \ _keyring _kitty _localectl _loginctl _lsmod \
_meson _mkinitcpio _mpv _msfconsole _msfvenom \ _luarocks _luarocks-admin _machinectl _medusa _meson \
_networkctl _ninja _niri _nix _notmuch \ _mkinitcpio _mpv _msfconsole _msfvenom _networkctl \
_oomctl _p11-kit _pacman _paru _pip \ _ninja _niri _nix _notmuch _oomctl \
_playerctl _poetry _pulseaudio _pwn _qpdf \ _p11-kit _pacman _paru _pip _playerctl \
_r2 _rabin2 _radiff2 _rafind2 _ragg2 \ _poetry _pulseaudio _pwn _qpdf _r2 \
_rahash2 _rasm2 _rax2 _rclone _resolvectl \ _rabin2 _radiff2 _rafind2 _ragg2 _rahash2 \
_rg _rmmod _rmpc _run0 _scrcpy \ _rasm2 _rax2 _rclone _resolvectl _rg \
_sd_bus_address _sd_hosts_or_user_at_host _sd_machines _sd_outputmodes _sd_unit_files \ _rmmod _rmpc _run0 _scrcpy _sd_bus_address \
_sensors _sensors-detect _shtab _swaylock _systemctl \ _sd_hosts_or_user_at_host _sd_machines _sd_outputmodes _sd_unit_files _sensors \
_sensors-detect _shtab _swayimg _swaylock _systemctl \
_systemd _systemd-analyze _systemd-delta _systemd-hwdb _systemd-id128 \ _systemd _systemd-analyze _systemd-delta _systemd-hwdb _systemd-id128 \
_systemd-inhibit _systemd-nspawn _systemd-path _systemd-run _systemd-tmpfiles \ _systemd-inhibit _systemd-nspawn _systemd-path _systemd-run _systemd-tmpfiles \
_timedatectl _tldr _trust _udevadm _udiskie \ _timedatectl _tldr _trust _udevadm _udiskie \

20
.zshrc
View File

@@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh env vars to set on login, zsh settings in ~/config/zsh/.zshrc
# 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 # added `export ZDOTDIR="$HOME/.config/zsh"` to /etc/zsh/zshenv in order to place this file at .config/zsh/.zprofile
# read first # read first
@@ -27,9 +26,6 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export LESSHISTFILE="$XDG_CACHE_HOME/less_history" export LESSHISTFILE="$XDG_CACHE_HOME/less_history"
export PYTHON_HISTORY="$XDG_DATA_HOME/python/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 # moving other files and some other vars
export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc" 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_us="$(printf '%b' '')"
export LESS_TERMCAP_ue="$(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 # 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:/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 # 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. # Use zsh's run-help, which will display information for zsh builtins.
autoload run-help autoload run-help
alias help="run-help" alias help="run-help"
#source primary config script
source $XDG_CONFIG_HOME/zsh/zsh.config

3
alias
View File

@@ -35,6 +35,7 @@ alias ipc="ipcheck"
alias pr="ping riverrooks.dev" alias pr="ping riverrooks.dev"
alias pg="ping gmail.com" alias pg="ping gmail.com"
alias snake="python3" alias snake="python3"
alias path="echo $PATH"
alias -g @d="~/Downloads/Browser/$(eza -s new ~/Downloads/Browser | tail -n 1)" alias -g @d="~/Downloads/Browser/$(eza -s new ~/Downloads/Browser | tail -n 1)"
alias -g L="| less" alias -g L="| less"
alias -g T="| tail" alias -g T="| tail"
@@ -44,4 +45,6 @@ alias -g S="| sort"
alias -g SC="| sort | uniq -c" alias -g SC="| sort | uniq -c"
alias -g R="| rg " alias -g R="| rg "
alias -g W="| awk " alias -g W="| awk "
alias -g C="| wl-copy"
checkhash(){du $1 | sha256sum}

View File

@@ -75,7 +75,6 @@ if [ -n "/usr/share/zsh/plugins " ]; then
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# syntax highlighting # syntax highlighting
# requires zsh-syntax-highlighting package # requires zsh-syntax-highlighting package
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi fi
#setup oh-my-posh shell #setup oh-my-posh shell
@@ -85,3 +84,6 @@ fi
# replace cd with zoxide (fzf support for changing dir) # replace cd with zoxide (fzf support for changing dir)
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh