initial commit

This commit is contained in:
venus
2026-03-11 21:24:14 -05:00
parent f71bb8d6b7
commit f7e479f8a5
4 changed files with 193 additions and 202 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.zcompdump

View File

@@ -1,4 +1,4 @@
#files: 865 version: 5.9 #files: 867 version: 5.9
_comps=( _comps=(
'-' '_precommand' '-' '_precommand'
@@ -80,6 +80,7 @@ _comps=(
'basename' '_basename' 'basename' '_basename'
'basenc' '_basenc' 'basenc' '_basenc'
'bash' '_bash' 'bash' '_bash'
'bat' '_bat'
'batch' '_at' 'batch' '_at'
'baz' '_baz' 'baz' '_baz'
'beep' '_beep' 'beep' '_beep'
@@ -279,12 +280,6 @@ _comps=(
'dsh' '_dsh' 'dsh' '_dsh'
'dtruss' '_dtruss' 'dtruss' '_dtruss'
'du' '_du' 'du' '_du'
'_dunst' '_dunst'
'dunst' '_dunst'
'_dunstctl' '_dunstctl'
'dunstctl' '_dunstctl'
'_dunstify' '_dunstify'
'dunstify' '_dunstify'
'dvibook' '_dvi' 'dvibook' '_dvi'
'dviconcat' '_dvi' 'dviconcat' '_dvi'
'dvicopy' '_dvi' 'dvicopy' '_dvi'
@@ -332,6 +327,7 @@ _comps=(
'evince' '_evince' 'evince' '_evince'
'ex' '_vi' 'ex' '_vi'
'exec' '_exec' 'exec' '_exec'
'exercism' '_exercism'
'expand' '_unexpand' 'expand' '_unexpand'
'export' '_typeset' 'export' '_typeset'
'express' '_webbrowser' 'express' '_webbrowser'
@@ -607,6 +603,7 @@ _comps=(
'hyprdynamicmonitors' '_hyprdynamicmonitors' 'hyprdynamicmonitors' '_hyprdynamicmonitors'
'hyprpm' '_hyprpm' 'hyprpm' '_hyprpm'
'hyprshade' '_hyprshade' 'hyprshade' '_hyprshade'
'hyprshell' '_hyprshell'
'iceweasel' '_mozilla' 'iceweasel' '_mozilla'
'icombine' '_ispell' 'icombine' '_ispell'
'iconv' '_iconv' 'iconv' '_iconv'
@@ -875,6 +872,7 @@ _comps=(
'ngrep' '_ngrep' 'ngrep' '_ngrep'
'nice' '_nice' 'nice' '_nice'
'ninja' '_ninja' 'ninja' '_ninja'
'niri' '_niri'
'nix' '_nix' 'nix' '_nix'
'nkf' '_nkf' 'nkf' '_nkf'
'nl' '_nl' 'nl' '_nl'
@@ -1390,6 +1388,7 @@ _comps=(
'useradd' '_user_admin' 'useradd' '_user_admin'
'userdel' '_users' 'userdel' '_users'
'usermod' '_user_admin' 'usermod' '_user_admin'
'uv' '_uv'
'vacuumdb' '_postgresql' 'vacuumdb' '_postgresql'
'val' '_sccs' 'val' '_sccs'
'valgrind' '_valgrind' 'valgrind' '_valgrind'
@@ -1725,179 +1724,180 @@ bindkey '^[,' _history-complete-newer
bindkey '^[/' _history-complete-older bindkey '^[/' _history-complete-older
bindkey '^[~' _bash_complete-word bindkey '^[~' _bash_complete-word
autoload -Uz _bluetoothctl _bootctl _busctl _bwrap _calibre \ autoload -Uz _bat _bluetoothctl _bootctl _busctl _bwrap \
_cargo _coredumpctl _ctr _curl _deno \ _calibre _cargo _coredumpctl _ctr _curl \
_docker _dolphin _dunst _dunstctl _dunstify \ _deno _docker _dolphin _email-notmuch _exercism \
_email-notmuch _eza _fastfetch _flameshot _hostnamectl \ _eza _fastfetch _flameshot _hostnamectl _hyprctl \
_hyprctl _hyprdynamicmonitors _hyprpm _hyprshade _img2sixel \ _hyprdynamicmonitors _hyprpm _hyprshade _hyprshell _img2sixel \
_insmod _john _journalctl _kdeconnect _kernel-install \ _insmod _john _journalctl _kdeconnect _kernel-install \
_keyring _kitty _localectl _loginctl _lsmod \ _keyring _kitty _localectl _loginctl _lsmod \
_machinectl _medusa _meson _mkinitcpio _mpv \ _machinectl _medusa _meson _mkinitcpio _mpv \
_msfconsole _msfvenom _networkctl _ninja _nix \ _msfconsole _msfvenom _networkctl _ninja _niri \
_notmuch _oomctl _p11-kit _pacman _paru \ _nix _notmuch _oomctl _p11-kit _pacman \
_pip _playerctl _pulseaudio _qpdf _r2 \ _paru _pip _playerctl _pulseaudio _qpdf \
_rabin2 _radiff2 _rafind2 _ragg2 _rahash2 \ _r2 _rabin2 _radiff2 _rafind2 _ragg2 \
_rasm2 _rax2 _resolvectl _rg _rmmod \ _rahash2 _rasm2 _rax2 _resolvectl _rg \
_rmpc _run0 _sd_bus_address _sd_hosts_or_user_at_host _sd_machines \ _rmmod _rmpc _run0 _sd_bus_address _sd_hosts_or_user_at_host \
_sd_outputmodes _sd_unit_files _sensors _sensors-detect _shtab \ _sd_machines _sd_outputmodes _sd_unit_files _sensors _sensors-detect \
_swaylock _systemctl _systemd _systemd-analyze _systemd-delta \ _shtab _swaylock _systemctl _systemd _systemd-analyze \
_systemd-inhibit _systemd-nspawn _systemd-path _systemd-run _systemd-tmpfiles \ _systemd-delta _systemd-inhibit _systemd-nspawn _systemd-path _systemd-run \
_timedatectl _tldr _trust _udevadm _udiskie \ _systemd-tmpfiles _timedatectl _tldr _trust _udevadm \
_udiskie-canonical_paths _udiskie-mount _udiskie-umount _udisks2 _upower \ _udiskie _udiskie-canonical_paths _udiskie-mount _udiskie-umount _udisks2 \
_varlinkctl _wl-copy _wl-paste _wpctl _yay \ _upower _uv _varlinkctl _wl-copy _wl-paste \
_yt-dlp _cdr _all_labels _all_matches _alternative \ _wpctl _yay _yt-dlp _cdr _all_labels \
_approximate _arg_compile _arguments _bash_completions _cache_invalid \ _all_matches _alternative _approximate _arg_compile _arguments \
_call_function _combination _complete _complete_debug _complete_help \ _bash_completions _cache_invalid _call_function _combination _complete \
_complete_help_generic _complete_tag _comp_locale _correct _correct_filename \ _complete_debug _complete_help _complete_help_generic _complete_tag _comp_locale \
_correct_word _describe _description _dispatch _expand \ _correct _correct_filename _correct_word _describe _description \
_expand_alias _expand_word _extensions _external_pwds _generic \ _dispatch _expand _expand_alias _expand_word _extensions \
_guard _history _history_complete_word _ignored _list \ _external_pwds _generic _guard _history _history_complete_word \
_main_complete _match _menu _message _most_recent_file \ _ignored _list _main_complete _match _menu \
_multi_parts _next_label _next_tags _normal _nothing \ _message _most_recent_file _multi_parts _next_label _next_tags \
_numbers _oldlist _pick_variant _prefix _read_comp \ _normal _nothing _numbers _oldlist _pick_variant \
_regex_arguments _regex_words _requested _retrieve_cache _sep_parts \ _prefix _read_comp _regex_arguments _regex_words _requested \
_sequence _set_command _setup _store_cache _sub_commands \ _retrieve_cache _sep_parts _sequence _set_command _setup \
_tags _user_expand _values _wanted _acpi \ _store_cache _sub_commands _tags _user_expand _values \
_acpitool _alsa-utils _analyseplugin _basenc _brctl \ _wanted _acpi _acpitool _alsa-utils _analyseplugin \
_btrfs _capabilities _chattr _chcon _choom \ _basenc _brctl _btrfs _capabilities _chattr \
_chrt _cpupower _cryptsetup _dkms _e2label \ _chcon _choom _chrt _cpupower _cryptsetup \
_ethtool _findmnt _free _fuse_arguments _fusermount \ _dkms _e2label _ethtool _findmnt _free \
_fuse_values _gpasswd _htop _iconvconfig _ionice \ _fuse_arguments _fusermount _fuse_values _gpasswd _htop \
_ipset _iptables _iwconfig _kpartx _losetup \ _iconvconfig _ionice _ipset _iptables _iwconfig \
_lsattr _lsblk _lsns _lsusb _ltrace \ _kpartx _losetup _lsattr _lsblk _lsns \
_mat _mat2 _mdadm _mii-tool _modutils \ _lsusb _ltrace _mat _mat2 _mdadm \
_mondo _networkmanager _nsenter _opkg _perf \ _mii-tool _modutils _mondo _networkmanager _nsenter \
_pidof _pmap _qdbus _schedtool _selinux_contexts \ _opkg _perf _pidof _pmap _qdbus \
_selinux_roles _selinux_types _selinux_users _setpriv _setsid \ _schedtool _selinux_contexts _selinux_roles _selinux_types _selinux_users \
_slabtop _ss _sshfs _strace _sysstat \ _setpriv _setsid _slabtop _ss _sshfs \
_tload _tpb _tracepath _tune2fs _uml \ _strace _sysstat _tload _tpb _tracepath \
_unshare _valgrind _vserver _wakeup_capable_devices _wipefs \ _tune2fs _uml _unshare _valgrind _vserver \
_wpa_cli _a2ps _aap _abcde _absolute_command_paths \ _wakeup_capable_devices _wipefs _wpa_cli _a2ps _aap \
_ack _adb _ansible _ant _antiword \ _abcde _absolute_command_paths _ack _adb _ansible \
_apachectl _apm _arch_archives _arch_namespace _arp \ _ant _antiword _apachectl _apm _arch_archives \
_arping _asciidoctor _asciinema _at _attr \ _arch_namespace _arp _arping _asciidoctor _asciinema \
_augeas _avahi _awk _base64 _basename \ _at _attr _augeas _avahi _awk \
_bash _baudrates _baz _beep _bibtex \ _base64 _basename _bash _baudrates _baz \
_bind_addresses _bison _bittorrent _bogofilter _bpf_filters \ _beep _bibtex _bind_addresses _bison _bittorrent \
_bpython _bzip2 _bzr _cabal _cal \ _bogofilter _bpf_filters _bpython _bzip2 _bzr \
_calendar _canonical_paths _cat _ccal _cdcd \ _cabal _cal _calendar _canonical_paths _cat \
_cdrdao _cdrecord _chkconfig _chmod _chown \ _ccal _cdcd _cdrdao _cdrecord _chkconfig \
_chroot _chsh _cksum _clay _cmdambivalent \ _chmod _chown _chroot _chsh _cksum \
_cmdstring _cmp _column _comm _composer \ _clay _cmdambivalent _cmdstring _cmp _column \
_compress _configure _cowsay _cp _cpio \ _comm _composer _compress _configure _cowsay \
_cplay _crontab _cscope _csplit _cssh \ _cp _cpio _cplay _crontab _cscope \
_ctags _ctags_tags _curl _cut _cvs \ _csplit _cssh _ctags _ctags_tags _curl \
_darcs _date _date_formats _dates _dbus \ _cut _cvs _darcs _date _date_formats \
_dconf _dd _devtodo _df _dhclient \ _dates _dbus _dconf _dd _devtodo \
_dict _dict_words _diff _diff3 _diff_options \ _df _dhclient _dict _dict_words _diff \
_diffstat _dig _directories _dir_list _django \ _diff3 _diff_options _diffstat _dig _directories \
_dmesg _dmidecode _dns_types _doas _domains \ _dir_list _django _dmesg _dmidecode _dns_types \
_dos2unix _drill _dropbox _dsh _dtruss \ _doas _domains _dos2unix _drill _dropbox \
_du _dvi _ecasound _ed _elfdump \ _dsh _dtruss _du _dvi _ecasound \
_elinks _email_addresses _enscript _entr _env \ _ed _elfdump _elinks _email_addresses _enscript \
_espeak _etags _fakeroot _feh _fetchmail \ _entr _env _espeak _etags _fakeroot \
_ffmpeg _figlet _file_modes _files _file_systems \ _feh _fetchmail _ffmpeg _figlet _file_modes \
_find _find_net_interfaces _finger _flac _flex \ _files _file_systems _find _find_net_interfaces _finger \
_fmt _fold _fortune _fsh _fuser \ _flac _flex _fmt _fold _fortune \
_gcc _gcore _gdb _gem _genisoimage \ _fsh _fuser _gcc _gcore _gdb \
_getconf _getent _getfacl _getmail _getopt \ _gem _genisoimage _getconf _getent _getfacl \
_ghostscript _git _global _global_tags _gnu_generic \ _getmail _getopt _ghostscript _git _global \
_gnupod _gnutls _go _gpg _gphoto2 \ _global_tags _gnu_generic _gnupod _gnutls _go \
_gprof _gradle _graphicsmagick _grep _groff \ _gpg _gphoto2 _gprof _gradle _graphicsmagick \
_groups _growisofs _gsettings _guilt _gzip \ _grep _groff _groups _growisofs _gsettings \
_have_glob_qual _head _hexdump _host _hostname \ _guilt _gzip _have_glob_qual _head _hexdump \
_hosts _iconv _id _ifconfig _iftop \ _host _hostname _hosts _iconv _id \
_imagemagick _initctl _init_d _install _iostat \ _ifconfig _iftop _imagemagick _initctl _init_d \
_ip _ipsec _irssi _ispell _java \ _install _iostat _ip _ipsec _irssi \
_java_class _joe _join _jq _killall \ _ispell _java _java_class _joe _join \
_knock _kvno _last _ldconfig _ldd \ _jq _killall _knock _kvno _last \
_ld_debug _less _lha _libvirt _links \ _ldconfig _ldd _ld_debug _less _lha \
_list_files _lldb _ln _loadkeys _locale \ _libvirt _links _list_files _lldb _ln \
_localedef _locales _locate _logger _look \ _loadkeys _locale _localedef _locales _locate \
_lp _ls _lsof _lua _luarocks \ _logger _look _lp _ls _lsof \
_lynx _lz4 _lzop _mail _mailboxes \ _lua _luarocks _lynx _lz4 _lzop \
_make _man _md5sum _mencal _mh \ _mail _mailboxes _make _man _md5sum \
_mime_types _mkdir _mkfifo _mknod _mktemp \ _mencal _mh _mime_types _mkdir _mkfifo \
_module _monotone _moosic _mosh _mount \ _mknod _mktemp _module _monotone _moosic \
_mpc _mt _mtools _mtr _mutt \ _mosh _mount _mpc _mt _mtools \
_mv _my_accounts _myrepos _mysqldiff _mysql_utils \ _mtr _mutt _mv _my_accounts _myrepos \
_ncftp _netcat _net_interfaces _netstat _newsgroups \ _mysqldiff _mysql_utils _ncftp _netcat _net_interfaces \
_nginx _ngrep _nice _nkf _nl \ _netstat _newsgroups _nginx _ngrep _nice \
_nm _nmap _npm _nslookup _numfmt \ _nkf _nl _nm _nmap _npm \
_objdump _object_files _od _openstack _opustools \ _nslookup _numfmt _objdump _object_files _od \
_other_accounts _pack _pandoc _paste _patch \ _openstack _opustools _other_accounts _pack _pandoc \
_patchutils _path_commands _path_files _pax _pbm \ _paste _patch _patchutils _path_commands _path_files \
_pdf _perforce _perl _perl_basepods _perldoc \ _pax _pbm _pdf _perforce _perl \
_perl_modules _pgids _pgrep _php _picocom \ _perl_basepods _perldoc _perl_modules _pgids _pgrep \
_pids _pine _ping _pip _pkgadd \ _php _picocom _pids _pine _ping \
_pkg-config _pkginfo _pkg_instance _pkgrm _pon \ _pip _pkgadd _pkg-config _pkginfo _pkg_instance \
_ports _postfix _postgresql _postscript _pr \ _pkgrm _pon _ports _postfix _postgresql \
_printenv _printers _process_names _prove _ps \ _postscript _pr _printenv _printers _process_names \
_pspdf _psutils _ptx _pump _pv \ _prove _ps _pspdf _psutils _ptx \
_pwgen _pydoc _python _python_modules _qemu \ _pump _pv _pwgen _pydoc _python \
_quilt _rake _ranlib _rar _rclone \ _python_modules _qemu _quilt _rake _ranlib \
_rcs _readelf _readlink _remote_files _renice \ _rar _rclone _rcs _readelf _readlink \
_ri _rlogin _rm _rmdir _route \ _remote_files _renice _ri _rlogin _rm \
_rrdtool _rsync _rubber _ruby _runit \ _rmdir _route _rrdtool _rsync _rubber \
_samba _sccs _scons _screen _script \ _ruby _runit _samba _sccs _scons \
_seafile _sed _seq _service _services \ _screen _script _seafile _sed _seq \
_setfacl _sh _shasum _showmount _shred \ _service _services _setfacl _sh _shasum \
_shuf _shutdown _signals _sisu _slrn \ _showmount _shred _shuf _shutdown _signals \
_smartmontools _socket _sort _spamassassin _split \ _sisu _slrn _smartmontools _socket _sort \
_sqlite _sqsh _ssh _ssh_hosts _stat \ _spamassassin _split _sqlite _sqsh _ssh \
_stdbuf _stgit _stow _strings _strip \ _ssh_hosts _stat _stdbuf _stgit _stow \
_stty _su _subversion _sudo _surfraw \ _strings _strip _stty _su _subversion \
_swaks _swanctl _swift _sys_calls _sysctl \ _sudo _surfraw _swaks _swanctl _swift \
_tac _tail _tar _tar_archive _tardy \ _sys_calls _sysctl _tac _tail _tar \
_tcpdump _tcptraceroute _tee _telnet _terminals \ _tar_archive _tardy _tcpdump _tcptraceroute _tee \
_tex _texi _texinfo _tidy _tiff \ _telnet _terminals _tex _texi _texinfo \
_tilde_files _timeout _time_zone _tin _tla \ _tidy _tiff _tilde_files _timeout _time_zone \
_tmux _todo.sh _toilet _top _topgit \ _tin _tla _tmux _todo.sh _toilet \
_totd _touch _tput _tr _transmission \ _top _topgit _totd _touch _tput \
_tree _truncate _truss _tty _ttys \ _tr _transmission _tree _truncate _truss \
_twidge _twisted _umountable _unace _uname \ _tty _ttys _twidge _twisted _umountable \
_unexpand _uniq _unison _units _uptime \ _unace _uname _unexpand _uniq _unison \
_urls _user_admin _user_at_host _users _users_on \ _units _uptime _urls _user_admin _user_at_host \
_vi _vim _visudo _vmstat _vorbis \ _users _users_on _vi _vim _visudo \
_vpnc _w _w3m _watch _wc \ _vmstat _vorbis _vpnc _w _w3m \
_webbrowser _wget _whereis _who _whois \ _watch _wc _webbrowser _wget _whereis \
_wiggle _xargs _xmlsoft _xmlstarlet _xmms2 \ _who _whois _wiggle _xargs _xmlsoft \
_xxd _xz _yafc _yodl _yp \ _xmlstarlet _xmms2 _xxd _xz _yafc \
_zcat _zdump _zfs _zfs_dataset _zfs_pool \ _yodl _yp _zcat _zdump _zfs \
_zip _zsh _acroread _code _dcop \ _zfs_dataset _zfs_pool _zip _zsh _acroread \
_eog _evince _geany _gnome-gv _gqview \ _code _dcop _eog _evince _geany \
_gv _kdeconnect _kfmclient _matlab _mozilla \ _gnome-gv _gqview _gv _kdeconnect _kfmclient \
_mplayer _mupdf _nautilus _nedit _netscape \ _matlab _mozilla _mplayer _mupdf _nautilus \
_okular _pdftk _qiv _rdesktop _setxkbmap \ _nedit _netscape _okular _pdftk _qiv \
_sublimetext _urxvt _vnc _x_arguments _xauth \ _rdesktop _setxkbmap _sublimetext _urxvt _vnc \
_xautolock _x_borderwidth _xclip _x_color _x_colormapid \ _x_arguments _xauth _xautolock _x_borderwidth _xclip \
_x_cursor _x_display _xdvi _x_extension _xfig \ _x_color _x_colormapid _x_cursor _x_display _xdvi \
_x_font _xft_fonts _x_geometry _xinput _x_keysym \ _x_extension _xfig _x_font _xft_fonts _x_geometry \
_xloadimage _x_locale _x_modifier _xmodmap _x_name \ _xinput _x_keysym _xloadimage _x_locale _x_modifier \
_xournal _xpdf _xrandr _x_resource _xscreensaver \ _xmodmap _x_name _xournal _xpdf _xrandr \
_x_selection_timeout _xset _xt_arguments _xterm _x_title \ _x_resource _xscreensaver _x_selection_timeout _xset _xt_arguments \
_xt_session_id _x_utils _xv _x_visual _x_window \ _xterm _x_title _xt_session_id _x_utils _xv \
_xwit _zeal _add-zle-hook-widget _add-zsh-hook _alias \ _x_visual _x_window _xwit _zeal _add-zle-hook-widget \
_aliases __arguments _arrays _assign _autocd \ _add-zsh-hook _alias _aliases __arguments _arrays \
_bindkey _brace_parameter _builtin _cd _command \ _assign _autocd _bindkey _brace_parameter _builtin \
_command_names _compadd _compdef _completers _condition \ _cd _command _command_names _compadd _compdef \
_default _delimiters _directory_stack _dirs _disable \ _completers _condition _default _delimiters _directory_stack \
_dynamic_directory_name _echotc _echoti _emulate _enable \ _dirs _disable _dynamic_directory_name _echotc _echoti \
_equal _exec _fc _file_descriptors _first \ _emulate _enable _equal _exec _fc \
_functions _globflags _globqual_delims _globquals _hash \ _file_descriptors _first _functions _globflags _globqual_delims \
_history_modifiers _in_vared _jobs _jobs_bg _jobs_builtin \ _globquals _hash _history_modifiers _in_vared _jobs \
_jobs_fg _kill _limit _limits _math \ _jobs_bg _jobs_builtin _jobs_fg _kill _limit \
_math_params _mere _module_math_func _options _options_set \ _limits _math _math_params _mere _module_math_func \
_options_unset _parameter _parameters _precommand _print \ _options _options_set _options_unset _parameter _parameters \
_prompt _ps1234 _read _redirect _run-help \ _precommand _print _prompt _ps1234 _read \
_sched _set _setopt _source _strftime \ _redirect _run-help _sched _set _setopt \
_subscript _suffix_alias_files _tcpsys _tilde _trap \ _source _strftime _subscript _suffix_alias_files _tcpsys \
_ttyctl _typeset _ulimit _unhash _user_math_func \ _tilde _trap _ttyctl _typeset _ulimit \
_value _vared _vars _vcs_info _vcs_info_hooks \ _unhash _user_math_func _value _vared _vars \
_wait _which _widgets _zargs _zattr \ _vcs_info _vcs_info_hooks _wait _which _widgets \
_zcalc _zcalc_line _zcompile _zed _zftp \ _zargs _zattr _zcalc _zcalc_line _zcompile \
_zle _zmodload _zmv _zparseopts _zpty \ _zed _zftp _zle _zmodload _zmv \
_zsh-mime-handler _zsocket _zstyle _ztodo _zparseopts _zpty _zsh-mime-handler _zsocket _zstyle \
_ztodo
autoload -Uz +X _call_program autoload -Uz +X _call_program
typeset -gUa _comp_assocs typeset -gUa _comp_assocs

9
.zshrc
View File

@@ -10,11 +10,9 @@ fi
# default programs # default programs
export EDITOR="nvim" export EDITOR="nvim"
export TERM="st" # export MUSPLAYER="termusic"
export TERMINAL="st"
export MUSPLAYER="termusic"
export BROWSER="firefox" export BROWSER="firefox"
export BROWSER2="librewolf" # export BROWSER2="librewolf"
# export DISPLAY=:0 # useful for some scripts # export DISPLAY=:0 # useful for some scripts
# follow XDG base dir specification # follow XDG base dir specification
@@ -31,6 +29,7 @@ export PYTHON_HISTORY="$XDG_DATA_HOME/python/history"
# add scripts to path # add scripts to path
export PATH="$XDG_CONFIG_HOME/scripts:$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"
@@ -56,7 +55,7 @@ export DATE=$(date "+%A, %B %e %_I:%M%P")
export FZF_DEFAULT_OPTS="--style minimal --color 16 --layout=reverse --height 30% --preview='bat -p --color=always {}'" export FZF_DEFAULT_OPTS="--style minimal --color 16 --layout=reverse --height 30% --preview='bat -p --color=always {}'"
export FZF_CTRL_R_OPTS="--style minimal --color 16 --info inline --no-sort --no-preview" # separate opts for history widget export FZF_CTRL_R_OPTS="--style minimal --color 16 --info inline --no-sort --no-preview" # separate opts for history widget
export MANPAGER="less -R --use-color -Dd+r -Du+b" # colored man pages export MANPAGER='nvim +Man!'
# colored less + termcap vars # colored less + termcap vars
export LESS="R --use-color -Dd+r -Du+b" export LESS="R --use-color -Dd+r -Du+b"

View File

@@ -3,12 +3,10 @@
if [ $debug = 1 ]; then echo reading config from $0 if [ $debug = 1 ]; then echo reading config from $0
fi fi
## set up oh-my-posh shell
export POSH_SESSION_ID="9b903a91-4978-487d-967e-6aed529e69ca"
# source global shell alias & variables files # source global shell alias & variables files
[ -f "$XDG_CONFIG_HOME/shell/alias" ] && source "$XDG_CONFIG_HOME/shell/alias" [ -f "$XDG_CONFIG_HOME/alias" ] && source "$XDG_CONFIG_HOME/alias"
[ -f "$XDG_CONFIG_HOME/shell/vars" ] && source "$XDG_CONFIG_HOME/shell/vars" [ -f "$XDG_CONFIG_HOME/vars" ] && source "$XDG_CONFIG_HOME/vars"
# load modules # load modules
zmodload zsh/complist zmodload zsh/complist
@@ -51,14 +49,15 @@ source <(fzf --zsh) # allow for fzf history widget
# binds # binds
bindkey "^a" beginning-of-line bindkey "^a" beginning-of-line
bindkey "^e" end-of-line bindkey "^e" end-of-line
bindkey "^k" kill-line bindkey "^k" kill-line # broken
bindkey "^j" backward-word bindkey "^j" backward-word # broken
bindkey "^k" forward-word bindkey "^k" forward-word # broken
bindkey "^H" backward-kill-word bindkey "^H" backward-kill-word
# ctrl J & K for going up and down in prev commands # ctrl J & K for going up and down in prev commands
bindkey "^J" history-search-forward bindkey "^J" history-search-forward
bindkey "^K" history-search-backward bindkey "^K" history-search-backward
bindkey '^R' fzf-history-widget bindkey '^R' fzf-history-widget
bindkey -s '^[[1;5A' "!!^M"
# open fff file manager with ctrl f # open fff file manager with ctrl f
@@ -71,24 +70,16 @@ bindkey '^R' fzf-history-widget
# set up prompt # set up prompt
NEWLINE=$'\n'
# PROMPT="${NEWLINE}%K{#2E3440}%F{#E5E9F0}$(date +%_I:%M%P) %K{#3b4252}%F{#ECEFF4} %n %K{#4c566a} %~ %f%k " # nord theme
# PROMPT="${NEWLINE}%K{#32302f}%F{#d5c4a1} $0 %K{#3c3836}%F{#d5c4a1} %n %K{#504945} %~ %f%k " # warmer theme
# PROMPT="${NEWLINE}%K{$COL0}%F{$COL1}$(date +%_I:%M%P) %K{$COL0}%F{$COL2} %n %K{$COL3} %~ %f%k " # pywal colors, from postrun script
# echo -e "${NEWLINE}\033[48;2;46;52;64;38;2;216;222;233m $0 \033[0m\033[48;2;59;66;82;38;2;216;222;233m $(uptime -p | cut -c 4-) \033[0m\033[48;2;76;86;106;38;2;216;222;233m $(uname -r) \033[0m" # nord theme
# echo -e "${NEWLINE}\x1b[38;5;137m\x1b[48;5;0m it's$(date +%_I:%M%P) \x1b[38;5;180m\x1b[48;5;0m $(uptime -p | cut -c 4-) \x1b[38;5;223m\x1b[48;5;0m $(uname -r) \033[0m" # warmer theme
# echo -e "${NEWLINE}\x1b[38;5;137m\x1b[48;5;0m it's$(print -P '%D{%_I:%M%P}\n') \x1b[38;5;180m\x1b[48;5;0m $(uptime -p | cut -c 4-) \x1b[38;5;223m\x1b[48;5;0m $(uname -r) \033[0m" # current
# autosuggestions # autosuggestions
# requires zsh-autosuggestions # requires zsh-autosuggestions
# 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 source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
#import oh-my-posh shell #setup oh-my-posh shell
export POSH_SESSION_ID="b5bf3508-938e-40c1-8126-f73becb49bca"; if [ $TERM = "xterm-kitty" ] || [ $NVIM ]; then
source $'/home/venus/.cache/oh-my-posh/init.14695981039346656037.zsh' eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/oh-my-posh/1_shell.omp.json)"
fi