Compare commits
13 Commits
f7e479f8a5
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1a014a38a | ||
|
|
8b360c8f7b | ||
|
|
9de9b5d1e7 | ||
|
|
8401568a50 | ||
|
|
993113e9ec | ||
|
|
53aa52f5d8 | ||
|
|
909e11855b | ||
|
|
f114789dd7 | ||
|
|
977ca94059 | ||
|
|
d401395dc4 | ||
|
|
356be1c98e | ||
|
|
0da5797115 | ||
|
|
994ecd7eb3 |
359
.zcompdump
359
.zcompdump
@@ -1,4 +1,4 @@
|
|||||||
#files: 867 version: 5.9
|
#files: 885 version: 5.9
|
||||||
|
|
||||||
_comps=(
|
_comps=(
|
||||||
'-' '_precommand'
|
'-' '_precommand'
|
||||||
@@ -268,6 +268,8 @@ _comps=(
|
|||||||
'dmake' '_make'
|
'dmake' '_make'
|
||||||
'dmesg' '_dmesg'
|
'dmesg' '_dmesg'
|
||||||
'dmidecode' '_dmidecode'
|
'dmidecode' '_dmidecode'
|
||||||
|
'dng' '_dng'
|
||||||
|
'dngconverter' '_dngconverter'
|
||||||
'doas' '_doas'
|
'doas' '_doas'
|
||||||
'docker' '_docker'
|
'docker' '_docker'
|
||||||
'dolphin' '_dolphin'
|
'dolphin' '_dolphin'
|
||||||
@@ -366,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'
|
||||||
@@ -449,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'
|
||||||
@@ -735,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'
|
||||||
@@ -996,6 +1001,7 @@ _comps=(
|
|||||||
'podgrep' '_perl_modules'
|
'podgrep' '_perl_modules'
|
||||||
'podpath' '_perl_modules'
|
'podpath' '_perl_modules'
|
||||||
'podtoc' '_perl_modules'
|
'podtoc' '_perl_modules'
|
||||||
|
'poetry' '_poetry'
|
||||||
'poff' '_pon'
|
'poff' '_pon'
|
||||||
'policytool' '_java'
|
'policytool' '_java'
|
||||||
'pon' '_pon'
|
'pon' '_pon'
|
||||||
@@ -1047,6 +1053,7 @@ _comps=(
|
|||||||
'pwait' '_pids'
|
'pwait' '_pids'
|
||||||
'pwdx' '_pids'
|
'pwdx' '_pids'
|
||||||
'pwgen' '_pwgen'
|
'pwgen' '_pwgen'
|
||||||
|
'pwn' '_pwn'
|
||||||
'pyhtmlizer' '_twisted'
|
'pyhtmlizer' '_twisted'
|
||||||
'qdbus' '_qdbus'
|
'qdbus' '_qdbus'
|
||||||
'qiv' '_qiv'
|
'qiv' '_qiv'
|
||||||
@@ -1145,6 +1152,8 @@ _comps=(
|
|||||||
'schedtool' '_schedtool'
|
'schedtool' '_schedtool'
|
||||||
'scons' '_scons'
|
'scons' '_scons'
|
||||||
'scp' '_ssh'
|
'scp' '_ssh'
|
||||||
|
'scrcpy' '_scrcpy'
|
||||||
|
'scrcpy.exe' '_scrcpy'
|
||||||
'screen' '_screen'
|
'screen' '_screen'
|
||||||
'script' '_script'
|
'script' '_script'
|
||||||
'scriptreplay' '_script'
|
'scriptreplay' '_script'
|
||||||
@@ -1250,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'
|
||||||
@@ -1263,6 +1273,8 @@ _comps=(
|
|||||||
'systemd-cgtop' '_systemd'
|
'systemd-cgtop' '_systemd'
|
||||||
'systemd-delta' '_systemd-delta'
|
'systemd-delta' '_systemd-delta'
|
||||||
'systemd-detect-virt' '_systemd'
|
'systemd-detect-virt' '_systemd'
|
||||||
|
'systemd-hwdb' '_systemd-hwdb'
|
||||||
|
'systemd-id128' '_systemd-id128'
|
||||||
'systemd-inhibit' '_systemd-inhibit'
|
'systemd-inhibit' '_systemd-inhibit'
|
||||||
'systemd-machine-id-setup' '_systemd'
|
'systemd-machine-id-setup' '_systemd'
|
||||||
'systemd-notify' '_systemd'
|
'systemd-notify' '_systemd'
|
||||||
@@ -1386,6 +1398,7 @@ _comps=(
|
|||||||
'urxvt256c-mlc' '_urxvt'
|
'urxvt256c-mlc' '_urxvt'
|
||||||
'urxvtc' '_urxvt'
|
'urxvtc' '_urxvt'
|
||||||
'useradd' '_user_admin'
|
'useradd' '_user_admin'
|
||||||
|
'userdbctl' '_userdbctl'
|
||||||
'userdel' '_users'
|
'userdel' '_users'
|
||||||
'usermod' '_user_admin'
|
'usermod' '_user_admin'
|
||||||
'uv' '_uv'
|
'uv' '_uv'
|
||||||
@@ -1547,9 +1560,11 @@ _comps=(
|
|||||||
'xxd' '_xxd'
|
'xxd' '_xxd'
|
||||||
'xz' '_xz'
|
'xz' '_xz'
|
||||||
'xzcat' '_xz'
|
'xzcat' '_xz'
|
||||||
|
'ya' '_ya'
|
||||||
'yafc' '_yafc'
|
'yafc' '_yafc'
|
||||||
'yash' '_sh'
|
'yash' '_sh'
|
||||||
'yay' '_yay'
|
'yay' '_yay'
|
||||||
|
'yazi' '_yazi'
|
||||||
'ypbind' '_yp'
|
'ypbind' '_yp'
|
||||||
'ypcat' '_yp'
|
'ypcat' '_yp'
|
||||||
'ypmatch' '_yp'
|
'ypmatch' '_yp'
|
||||||
@@ -1596,6 +1611,7 @@ _comps=(
|
|||||||
'zmodload' '_zmodload'
|
'zmodload' '_zmodload'
|
||||||
'zmv' '_zmv'
|
'zmv' '_zmv'
|
||||||
'zone' '_hosts'
|
'zone' '_hosts'
|
||||||
|
'zoxide' '_zoxide'
|
||||||
'zparseopts' '_zparseopts'
|
'zparseopts' '_zparseopts'
|
||||||
'zpool' '_zfs'
|
'zpool' '_zfs'
|
||||||
'zpty' '_zpty'
|
'zpty' '_zpty'
|
||||||
@@ -1726,178 +1742,181 @@ bindkey '^[~' _bash_complete-word
|
|||||||
|
|
||||||
autoload -Uz _bat _bluetoothctl _bootctl _busctl _bwrap \
|
autoload -Uz _bat _bluetoothctl _bootctl _busctl _bwrap \
|
||||||
_calibre _cargo _coredumpctl _ctr _curl \
|
_calibre _cargo _coredumpctl _ctr _curl \
|
||||||
_deno _docker _dolphin _email-notmuch _exercism \
|
_deno _dkms _dng _dngconverter _docker \
|
||||||
_eza _fastfetch _flameshot _hostnamectl _hyprctl \
|
_dolphin _email-notmuch _exercism _eza _fastfetch \
|
||||||
|
_flameshot _flatpak _gitleaks _hostnamectl _hyprctl \
|
||||||
_hyprdynamicmonitors _hyprpm _hyprshade _hyprshell _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 \
|
_luarocks _luarocks-admin _machinectl _medusa _meson \
|
||||||
_msfconsole _msfvenom _networkctl _ninja _niri \
|
_mkinitcpio _mpv _msfconsole _msfvenom _networkctl \
|
||||||
_nix _notmuch _oomctl _p11-kit _pacman \
|
_ninja _niri _nix _notmuch _oomctl \
|
||||||
_paru _pip _playerctl _pulseaudio _qpdf \
|
_p11-kit _pacman _paru _pip _playerctl \
|
||||||
_r2 _rabin2 _radiff2 _rafind2 _ragg2 \
|
_poetry _pulseaudio _pwn _qpdf _r2 \
|
||||||
_rahash2 _rasm2 _rax2 _resolvectl _rg \
|
_rabin2 _radiff2 _rafind2 _ragg2 _rahash2 \
|
||||||
_rmmod _rmpc _run0 _sd_bus_address _sd_hosts_or_user_at_host \
|
_rasm2 _rax2 _rclone _resolvectl _rg \
|
||||||
_sd_machines _sd_outputmodes _sd_unit_files _sensors _sensors-detect \
|
_rmmod _rmpc _run0 _scrcpy _sd_bus_address \
|
||||||
_shtab _swaylock _systemctl _systemd _systemd-analyze \
|
_sd_hosts_or_user_at_host _sd_machines _sd_outputmodes _sd_unit_files _sensors \
|
||||||
_systemd-delta _systemd-inhibit _systemd-nspawn _systemd-path _systemd-run \
|
_sensors-detect _shtab _swayimg _swaylock _systemctl \
|
||||||
_systemd-tmpfiles _timedatectl _tldr _trust _udevadm \
|
_systemd _systemd-analyze _systemd-delta _systemd-hwdb _systemd-id128 \
|
||||||
_udiskie _udiskie-canonical_paths _udiskie-mount _udiskie-umount _udisks2 \
|
_systemd-inhibit _systemd-nspawn _systemd-path _systemd-run _systemd-tmpfiles \
|
||||||
_upower _uv _varlinkctl _wl-copy _wl-paste \
|
_timedatectl _tldr _trust _udevadm _udiskie \
|
||||||
_wpctl _yay _yt-dlp _cdr _all_labels \
|
_udiskie-canonical_paths _udiskie-mount _udiskie-umount _udisks2 _upower \
|
||||||
_all_matches _alternative _approximate _arg_compile _arguments \
|
_userdbctl _uv _varlinkctl _wl-copy _wl-paste \
|
||||||
_bash_completions _cache_invalid _call_function _combination _complete \
|
_wpctl _ya _yay _yazi _yt-dlp \
|
||||||
_complete_debug _complete_help _complete_help_generic _complete_tag _comp_locale \
|
_zoxide _cdr _all_labels _all_matches _alternative \
|
||||||
_correct _correct_filename _correct_word _describe _description \
|
_approximate _arg_compile _arguments _bash_completions _cache_invalid \
|
||||||
_dispatch _expand _expand_alias _expand_word _extensions \
|
_call_function _combination _complete _complete_debug _complete_help \
|
||||||
_external_pwds _generic _guard _history _history_complete_word \
|
_complete_help_generic _complete_tag _comp_locale _correct _correct_filename \
|
||||||
_ignored _list _main_complete _match _menu \
|
_correct_word _describe _description _dispatch _expand \
|
||||||
_message _most_recent_file _multi_parts _next_label _next_tags \
|
_expand_alias _expand_word _extensions _external_pwds _generic \
|
||||||
_normal _nothing _numbers _oldlist _pick_variant \
|
_guard _history _history_complete_word _ignored _list \
|
||||||
_prefix _read_comp _regex_arguments _regex_words _requested \
|
_main_complete _match _menu _message _most_recent_file \
|
||||||
_retrieve_cache _sep_parts _sequence _set_command _setup \
|
_multi_parts _next_label _next_tags _normal _nothing \
|
||||||
_store_cache _sub_commands _tags _user_expand _values \
|
_numbers _oldlist _pick_variant _prefix _read_comp \
|
||||||
_wanted _acpi _acpitool _alsa-utils _analyseplugin \
|
_regex_arguments _regex_words _requested _retrieve_cache _sep_parts \
|
||||||
_basenc _brctl _btrfs _capabilities _chattr \
|
_sequence _set_command _setup _store_cache _sub_commands \
|
||||||
_chcon _choom _chrt _cpupower _cryptsetup \
|
_tags _user_expand _values _wanted _acpi \
|
||||||
_dkms _e2label _ethtool _findmnt _free \
|
_acpitool _alsa-utils _analyseplugin _basenc _brctl \
|
||||||
_fuse_arguments _fusermount _fuse_values _gpasswd _htop \
|
_btrfs _capabilities _chattr _chcon _choom \
|
||||||
_iconvconfig _ionice _ipset _iptables _iwconfig \
|
_chrt _cpupower _cryptsetup _dkms _e2label \
|
||||||
_kpartx _losetup _lsattr _lsblk _lsns \
|
_ethtool _findmnt _free _fuse_arguments _fusermount \
|
||||||
_lsusb _ltrace _mat _mat2 _mdadm \
|
_fuse_values _gpasswd _htop _iconvconfig _ionice \
|
||||||
_mii-tool _modutils _mondo _networkmanager _nsenter \
|
_ipset _iptables _iwconfig _kpartx _losetup \
|
||||||
_opkg _perf _pidof _pmap _qdbus \
|
_lsattr _lsblk _lsns _lsusb _ltrace \
|
||||||
_schedtool _selinux_contexts _selinux_roles _selinux_types _selinux_users \
|
_mat _mat2 _mdadm _mii-tool _modutils \
|
||||||
_setpriv _setsid _slabtop _ss _sshfs \
|
_mondo _networkmanager _nsenter _opkg _perf \
|
||||||
_strace _sysstat _tload _tpb _tracepath \
|
_pidof _pmap _qdbus _schedtool _selinux_contexts \
|
||||||
_tune2fs _uml _unshare _valgrind _vserver \
|
_selinux_roles _selinux_types _selinux_users _setpriv _setsid \
|
||||||
_wakeup_capable_devices _wipefs _wpa_cli _a2ps _aap \
|
_slabtop _ss _sshfs _strace _sysstat \
|
||||||
_abcde _absolute_command_paths _ack _adb _ansible \
|
_tload _tpb _tracepath _tune2fs _uml \
|
||||||
_ant _antiword _apachectl _apm _arch_archives \
|
_unshare _valgrind _vserver _wakeup_capable_devices _wipefs \
|
||||||
_arch_namespace _arp _arping _asciidoctor _asciinema \
|
_wpa_cli _a2ps _aap _abcde _absolute_command_paths \
|
||||||
_at _attr _augeas _avahi _awk \
|
_ack _adb _ansible _ant _antiword \
|
||||||
_base64 _basename _bash _baudrates _baz \
|
_apachectl _apm _arch_archives _arch_namespace _arp \
|
||||||
_beep _bibtex _bind_addresses _bison _bittorrent \
|
_arping _asciidoctor _asciinema _at _attr \
|
||||||
_bogofilter _bpf_filters _bpython _bzip2 _bzr \
|
_augeas _avahi _awk _base64 _basename \
|
||||||
_cabal _cal _calendar _canonical_paths _cat \
|
_bash _baudrates _baz _beep _bibtex \
|
||||||
_ccal _cdcd _cdrdao _cdrecord _chkconfig \
|
_bind_addresses _bison _bittorrent _bogofilter _bpf_filters \
|
||||||
_chmod _chown _chroot _chsh _cksum \
|
_bpython _bzip2 _bzr _cabal _cal \
|
||||||
_clay _cmdambivalent _cmdstring _cmp _column \
|
_calendar _canonical_paths _cat _ccal _cdcd \
|
||||||
_comm _composer _compress _configure _cowsay \
|
_cdrdao _cdrecord _chkconfig _chmod _chown \
|
||||||
_cp _cpio _cplay _crontab _cscope \
|
_chroot _chsh _cksum _clay _cmdambivalent \
|
||||||
_csplit _cssh _ctags _ctags_tags _curl \
|
_cmdstring _cmp _column _comm _composer \
|
||||||
_cut _cvs _darcs _date _date_formats \
|
_compress _configure _cowsay _cp _cpio \
|
||||||
_dates _dbus _dconf _dd _devtodo \
|
_cplay _crontab _cscope _csplit _cssh \
|
||||||
_df _dhclient _dict _dict_words _diff \
|
_ctags _ctags_tags _curl _cut _cvs \
|
||||||
_diff3 _diff_options _diffstat _dig _directories \
|
_darcs _date _date_formats _dates _dbus \
|
||||||
_dir_list _django _dmesg _dmidecode _dns_types \
|
_dconf _dd _devtodo _df _dhclient \
|
||||||
_doas _domains _dos2unix _drill _dropbox \
|
_dict _dict_words _diff _diff3 _diff_options \
|
||||||
_dsh _dtruss _du _dvi _ecasound \
|
_diffstat _dig _directories _dir_list _django \
|
||||||
_ed _elfdump _elinks _email_addresses _enscript \
|
_dmesg _dmidecode _dns_types _doas _domains \
|
||||||
_entr _env _espeak _etags _fakeroot \
|
_dos2unix _drill _dropbox _dsh _dtruss \
|
||||||
_feh _fetchmail _ffmpeg _figlet _file_modes \
|
_du _dvi _ecasound _ed _elfdump \
|
||||||
_files _file_systems _find _find_net_interfaces _finger \
|
_elinks _email_addresses _enscript _entr _env \
|
||||||
_flac _flex _fmt _fold _fortune \
|
_espeak _etags _fakeroot _feh _fetchmail \
|
||||||
_fsh _fuser _gcc _gcore _gdb \
|
_ffmpeg _figlet _file_modes _files _file_systems \
|
||||||
_gem _genisoimage _getconf _getent _getfacl \
|
_find _find_net_interfaces _finger _flac _flex \
|
||||||
_getmail _getopt _ghostscript _git _global \
|
_fmt _fold _fortune _fsh _fuser \
|
||||||
_global_tags _gnu_generic _gnupod _gnutls _go \
|
_gcc _gcore _gdb _gem _genisoimage \
|
||||||
_gpg _gphoto2 _gprof _gradle _graphicsmagick \
|
_getconf _getent _getfacl _getmail _getopt \
|
||||||
_grep _groff _groups _growisofs _gsettings \
|
_ghostscript _git _global _global_tags _gnu_generic \
|
||||||
_guilt _gzip _have_glob_qual _head _hexdump \
|
_gnupod _gnutls _go _gpg _gphoto2 \
|
||||||
_host _hostname _hosts _iconv _id \
|
_gprof _gradle _graphicsmagick _grep _groff \
|
||||||
_ifconfig _iftop _imagemagick _initctl _init_d \
|
_groups _growisofs _gsettings _guilt _gzip \
|
||||||
_install _iostat _ip _ipsec _irssi \
|
_have_glob_qual _head _hexdump _host _hostname \
|
||||||
_ispell _java _java_class _joe _join \
|
_hosts _iconv _id _ifconfig _iftop \
|
||||||
_jq _killall _knock _kvno _last \
|
_imagemagick _initctl _init_d _install _iostat \
|
||||||
_ldconfig _ldd _ld_debug _less _lha \
|
_ip _ipsec _irssi _ispell _java \
|
||||||
_libvirt _links _list_files _lldb _ln \
|
_java_class _joe _join _jq _killall \
|
||||||
_loadkeys _locale _localedef _locales _locate \
|
_knock _kvno _last _ldconfig _ldd \
|
||||||
_logger _look _lp _ls _lsof \
|
_ld_debug _less _lha _libvirt _links \
|
||||||
_lua _luarocks _lynx _lz4 _lzop \
|
_list_files _lldb _ln _loadkeys _locale \
|
||||||
_mail _mailboxes _make _man _md5sum \
|
_localedef _locales _locate _logger _look \
|
||||||
_mencal _mh _mime_types _mkdir _mkfifo \
|
_lp _ls _lsof _lua _luarocks \
|
||||||
_mknod _mktemp _module _monotone _moosic \
|
_lynx _lz4 _lzop _mail _mailboxes \
|
||||||
_mosh _mount _mpc _mt _mtools \
|
_make _man _md5sum _mencal _mh \
|
||||||
_mtr _mutt _mv _my_accounts _myrepos \
|
_mime_types _mkdir _mkfifo _mknod _mktemp \
|
||||||
_mysqldiff _mysql_utils _ncftp _netcat _net_interfaces \
|
_module _monotone _moosic _mosh _mount \
|
||||||
_netstat _newsgroups _nginx _ngrep _nice \
|
_mpc _mt _mtools _mtr _mutt \
|
||||||
_nkf _nl _nm _nmap _npm \
|
_mv _my_accounts _myrepos _mysqldiff _mysql_utils \
|
||||||
_nslookup _numfmt _objdump _object_files _od \
|
_ncftp _netcat _net_interfaces _netstat _newsgroups \
|
||||||
_openstack _opustools _other_accounts _pack _pandoc \
|
_nginx _ngrep _nice _nkf _nl \
|
||||||
_paste _patch _patchutils _path_commands _path_files \
|
_nm _nmap _npm _nslookup _numfmt \
|
||||||
_pax _pbm _pdf _perforce _perl \
|
_objdump _object_files _od _openstack _opustools \
|
||||||
_perl_basepods _perldoc _perl_modules _pgids _pgrep \
|
_other_accounts _pack _pandoc _paste _patch \
|
||||||
_php _picocom _pids _pine _ping \
|
_patchutils _path_commands _path_files _pax _pbm \
|
||||||
_pip _pkgadd _pkg-config _pkginfo _pkg_instance \
|
_pdf _perforce _perl _perl_basepods _perldoc \
|
||||||
_pkgrm _pon _ports _postfix _postgresql \
|
_perl_modules _pgids _pgrep _php _picocom \
|
||||||
_postscript _pr _printenv _printers _process_names \
|
_pids _pine _ping _pip _pkgadd \
|
||||||
_prove _ps _pspdf _psutils _ptx \
|
_pkg-config _pkginfo _pkg_instance _pkgrm _pon \
|
||||||
_pump _pv _pwgen _pydoc _python \
|
_ports _postfix _postgresql _postscript _pr \
|
||||||
_python_modules _qemu _quilt _rake _ranlib \
|
_printenv _printers _process_names _prove _ps \
|
||||||
_rar _rclone _rcs _readelf _readlink \
|
_pspdf _psutils _ptx _pump _pv \
|
||||||
_remote_files _renice _ri _rlogin _rm \
|
_pwgen _pydoc _python _python_modules _qemu \
|
||||||
_rmdir _route _rrdtool _rsync _rubber \
|
_quilt _rake _ranlib _rar _rclone \
|
||||||
_ruby _runit _samba _sccs _scons \
|
_rcs _readelf _readlink _remote_files _renice \
|
||||||
_screen _script _seafile _sed _seq \
|
_ri _rlogin _rm _rmdir _route \
|
||||||
_service _services _setfacl _sh _shasum \
|
_rrdtool _rsync _rubber _ruby _runit \
|
||||||
_showmount _shred _shuf _shutdown _signals \
|
_samba _sccs _scons _screen _script \
|
||||||
_sisu _slrn _smartmontools _socket _sort \
|
_seafile _sed _seq _service _services \
|
||||||
_spamassassin _split _sqlite _sqsh _ssh \
|
_setfacl _sh _shasum _showmount _shred \
|
||||||
_ssh_hosts _stat _stdbuf _stgit _stow \
|
_shuf _shutdown _signals _sisu _slrn \
|
||||||
_strings _strip _stty _su _subversion \
|
_smartmontools _socket _sort _spamassassin _split \
|
||||||
_sudo _surfraw _swaks _swanctl _swift \
|
_sqlite _sqsh _ssh _ssh_hosts _stat \
|
||||||
_sys_calls _sysctl _tac _tail _tar \
|
_stdbuf _stgit _stow _strings _strip \
|
||||||
_tar_archive _tardy _tcpdump _tcptraceroute _tee \
|
_stty _su _subversion _sudo _surfraw \
|
||||||
_telnet _terminals _tex _texi _texinfo \
|
_swaks _swanctl _swift _sys_calls _sysctl \
|
||||||
_tidy _tiff _tilde_files _timeout _time_zone \
|
_tac _tail _tar _tar_archive _tardy \
|
||||||
_tin _tla _tmux _todo.sh _toilet \
|
_tcpdump _tcptraceroute _tee _telnet _terminals \
|
||||||
_top _topgit _totd _touch _tput \
|
_tex _texi _texinfo _tidy _tiff \
|
||||||
_tr _transmission _tree _truncate _truss \
|
_tilde_files _timeout _time_zone _tin _tla \
|
||||||
_tty _ttys _twidge _twisted _umountable \
|
_tmux _todo.sh _toilet _top _topgit \
|
||||||
_unace _uname _unexpand _uniq _unison \
|
_totd _touch _tput _tr _transmission \
|
||||||
_units _uptime _urls _user_admin _user_at_host \
|
_tree _truncate _truss _tty _ttys \
|
||||||
_users _users_on _vi _vim _visudo \
|
_twidge _twisted _umountable _unace _uname \
|
||||||
_vmstat _vorbis _vpnc _w _w3m \
|
_unexpand _uniq _unison _units _uptime \
|
||||||
_watch _wc _webbrowser _wget _whereis \
|
_urls _user_admin _user_at_host _users _users_on \
|
||||||
_who _whois _wiggle _xargs _xmlsoft \
|
_vi _vim _visudo _vmstat _vorbis \
|
||||||
_xmlstarlet _xmms2 _xxd _xz _yafc \
|
_vpnc _w _w3m _watch _wc \
|
||||||
_yodl _yp _zcat _zdump _zfs \
|
_webbrowser _wget _whereis _who _whois \
|
||||||
_zfs_dataset _zfs_pool _zip _zsh _acroread \
|
_wiggle _xargs _xmlsoft _xmlstarlet _xmms2 \
|
||||||
_code _dcop _eog _evince _geany \
|
_xxd _xz _yafc _yodl _yp \
|
||||||
_gnome-gv _gqview _gv _kdeconnect _kfmclient \
|
_zcat _zdump _zfs _zfs_dataset _zfs_pool \
|
||||||
_matlab _mozilla _mplayer _mupdf _nautilus \
|
_zip _zsh _acroread _code _dcop \
|
||||||
_nedit _netscape _okular _pdftk _qiv \
|
_eog _evince _geany _gnome-gv _gqview \
|
||||||
_rdesktop _setxkbmap _sublimetext _urxvt _vnc \
|
_gv _kdeconnect _kfmclient _matlab _mozilla \
|
||||||
_x_arguments _xauth _xautolock _x_borderwidth _xclip \
|
_mplayer _mupdf _nautilus _nedit _netscape \
|
||||||
_x_color _x_colormapid _x_cursor _x_display _xdvi \
|
_okular _pdftk _qiv _rdesktop _setxkbmap \
|
||||||
_x_extension _xfig _x_font _xft_fonts _x_geometry \
|
_sublimetext _urxvt _vnc _x_arguments _xauth \
|
||||||
_xinput _x_keysym _xloadimage _x_locale _x_modifier \
|
_xautolock _x_borderwidth _xclip _x_color _x_colormapid \
|
||||||
_xmodmap _x_name _xournal _xpdf _xrandr \
|
_x_cursor _x_display _xdvi _x_extension _xfig \
|
||||||
_x_resource _xscreensaver _x_selection_timeout _xset _xt_arguments \
|
_x_font _xft_fonts _x_geometry _xinput _x_keysym \
|
||||||
_xterm _x_title _xt_session_id _x_utils _xv \
|
_xloadimage _x_locale _x_modifier _xmodmap _x_name \
|
||||||
_x_visual _x_window _xwit _zeal _add-zle-hook-widget \
|
_xournal _xpdf _xrandr _x_resource _xscreensaver \
|
||||||
_add-zsh-hook _alias _aliases __arguments _arrays \
|
_x_selection_timeout _xset _xt_arguments _xterm _x_title \
|
||||||
_assign _autocd _bindkey _brace_parameter _builtin \
|
_xt_session_id _x_utils _xv _x_visual _x_window \
|
||||||
_cd _command _command_names _compadd _compdef \
|
_xwit _zeal _add-zle-hook-widget _add-zsh-hook _alias \
|
||||||
_completers _condition _default _delimiters _directory_stack \
|
_aliases __arguments _arrays _assign _autocd \
|
||||||
_dirs _disable _dynamic_directory_name _echotc _echoti \
|
_bindkey _brace_parameter _builtin _cd _command \
|
||||||
_emulate _enable _equal _exec _fc \
|
_command_names _compadd _compdef _completers _condition \
|
||||||
_file_descriptors _first _functions _globflags _globqual_delims \
|
_default _delimiters _directory_stack _dirs _disable \
|
||||||
_globquals _hash _history_modifiers _in_vared _jobs \
|
_dynamic_directory_name _echotc _echoti _emulate _enable \
|
||||||
_jobs_bg _jobs_builtin _jobs_fg _kill _limit \
|
_equal _exec _fc _file_descriptors _first \
|
||||||
_limits _math _math_params _mere _module_math_func \
|
_functions _globflags _globqual_delims _globquals _hash \
|
||||||
_options _options_set _options_unset _parameter _parameters \
|
_history_modifiers _in_vared _jobs _jobs_bg _jobs_builtin \
|
||||||
_precommand _print _prompt _ps1234 _read \
|
_jobs_fg _kill _limit _limits _math \
|
||||||
_redirect _run-help _sched _set _setopt \
|
_math_params _mere _module_math_func _options _options_set \
|
||||||
_source _strftime _subscript _suffix_alias_files _tcpsys \
|
_options_unset _parameter _parameters _precommand _print \
|
||||||
_tilde _trap _ttyctl _typeset _ulimit \
|
_prompt _ps1234 _read _redirect _run-help \
|
||||||
_unhash _user_math_func _value _vared _vars \
|
_sched _set _setopt _source _strftime \
|
||||||
_vcs_info _vcs_info_hooks _wait _which _widgets \
|
_subscript _suffix_alias_files _tcpsys _tilde _trap \
|
||||||
_zargs _zattr _zcalc _zcalc_line _zcompile \
|
_ttyctl _typeset _ulimit _unhash _user_math_func \
|
||||||
_zed _zftp _zle _zmodload _zmv \
|
_value _vared _vars _vcs_info _vcs_info_hooks \
|
||||||
_zparseopts _zpty _zsh-mime-handler _zsocket _zstyle \
|
_wait _which _widgets _zargs _zattr \
|
||||||
_ztodo
|
_zcalc _zcalc_line _zcompile _zed _zftp \
|
||||||
|
_zle _zmodload _zmv _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
|
||||||
|
|||||||
3
.zprofile
Normal file
3
.zprofile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
# Created by `pipx` on 2026-03-26 01:09:22
|
||||||
|
export PATH="$PATH:/home/venus/.local/bin"
|
||||||
27
.zshrc
27
.zshrc
@@ -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"
|
||||||
@@ -37,7 +33,7 @@ export XPROFILE="$XDG_CONFIG_HOME/x11/xprofile"
|
|||||||
export XREkOURCES="$XDG_CONFIG_HOME/x11/xresources"
|
export XREkOURCES="$XDG_CONFIG_HOME/x11/xresources"
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" # gtk 3 & 4 are XDG compliant
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" # gtk 3 & 4 are XDG compliant
|
||||||
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
|
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
|
||||||
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc"
|
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc.py"
|
||||||
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||||
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||||
export GOPATH="$XDG_DATA_HOME/go"
|
export GOPATH="$XDG_DATA_HOME/go"
|
||||||
@@ -55,7 +51,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='nvim +Man!'
|
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"
|
||||||
@@ -67,5 +63,22 @@ export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
|||||||
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
||||||
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
||||||
|
|
||||||
|
|
||||||
|
# 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 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 primary config script
|
||||||
source $XDG_CONFIG_HOME/zsh/zsh.config
|
source $XDG_CONFIG_HOME/zsh/zsh.config
|
||||||
|
|
||||||
|
|||||||
50
alias
Normal file
50
alias
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
alias pacman="sudo pacman"
|
||||||
|
alias ssh="kitten ssh"
|
||||||
|
alias show="kitty +kitten icat"
|
||||||
|
alias ips="ip a show wlan0"
|
||||||
|
alias mip='/home/venus/tools/getIp.sh'
|
||||||
|
alias omp="oh-my-posh"
|
||||||
|
alias rz="rizin"
|
||||||
|
alias ls="eza"
|
||||||
|
alias gz="gzip"
|
||||||
|
alias ri="sudo systemctl restart iwd && sleep 3 && ipcheck"
|
||||||
|
alias la="eza --all"
|
||||||
|
alias ll="eza --long --icons"
|
||||||
|
alias lr="eza --recurse"
|
||||||
|
alias lt="eza --tree --level 3"
|
||||||
|
alias li="eza --icons"
|
||||||
|
alias lg="eza --git-ignore"
|
||||||
|
alias e='v .'
|
||||||
|
alias air='sudo wg-quick up air-america'
|
||||||
|
alias aird='sudo wg-quick down air-america'
|
||||||
|
alias gc='git add . && git commit'
|
||||||
|
alias cat='bat'
|
||||||
|
alias eh="nvim ~/.config/hypr/"
|
||||||
|
alias ev="nvim ~/.config/nvim/"
|
||||||
|
alias v='nvim'
|
||||||
|
alias kb="nvim $XDG_CONFIG_HOME/hypr/basic/keybinds.conf"
|
||||||
|
alias vh="nvim $XDG_CONFIG_HOME/hypr/"
|
||||||
|
alias vk="nvim $XDG_CONFIG_HOME/hypr/basic/keybinds.conf"
|
||||||
|
alias vv="nvim $XDG_CONFIG_HOME/nvim/"
|
||||||
|
alias va="nvim $XDG_CONFIG_HOME/alias && source ~/.config/alias"
|
||||||
|
alias vz="nvim $XDG_CONFIG_HOME/zsh"
|
||||||
|
alias v!="nvim <(!!)"
|
||||||
|
alias cd="z"
|
||||||
|
alias pms="sudo pacman -S"
|
||||||
|
alias ipc="ipcheck"
|
||||||
|
alias pr="ping riverrooks.dev"
|
||||||
|
alias pg="ping gmail.com"
|
||||||
|
alias snake="python3"
|
||||||
|
alias path="echo $PATH"
|
||||||
|
alias -g @d="~/Downloads/Browser/$(eza -s new ~/Downloads/Browser | tail -n 1)"
|
||||||
|
alias -g L="| less"
|
||||||
|
alias -g T="| tail"
|
||||||
|
alias -g HH="| head"
|
||||||
|
alias -g H="| head -n "
|
||||||
|
alias -g S="| sort"
|
||||||
|
alias -g SC="| sort | uniq -c"
|
||||||
|
alias -g R="| rg "
|
||||||
|
alias -g W="| awk "
|
||||||
|
alias -g C="| wl-copy"
|
||||||
|
checkhash(){du $1 | sha256sum}
|
||||||
|
|
||||||
59
lab04.sh
Normal file
59
lab04.sh
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
# Create the directory structure [cite: 28]
|
||||||
|
mkdir -p ~/password-cracking-lab04
|
||||||
|
|
||||||
|
# Verify the structure exists [cite: 30]
|
||||||
|
ls -R ~/password-cracking-lab04
|
||||||
|
|
||||||
|
n=1
|
||||||
|
import part0.png
|
||||||
|
# Move into the new directory [cite: 31]
|
||||||
|
cd ~/password-cracking-lab04
|
||||||
|
|
||||||
|
# Hash a password using MD5 [cite: 38]
|
||||||
|
echo -n "CyberStudent123!" | md5sum
|
||||||
|
|
||||||
|
# Hash a password using SHA-1 [cite: 39]
|
||||||
|
echo -n "CyberStudent123!" | sha1sum
|
||||||
|
|
||||||
|
# Hash a password using SHA-256 [cite: 39]
|
||||||
|
echo -n "CyberStudent123!" | sha256sum
|
||||||
|
|
||||||
|
import "1.1hashes.png"
|
||||||
|
|
||||||
|
# Set your salt and password variables [cite: 51, 52]
|
||||||
|
SALT="X9112"
|
||||||
|
PASSWORD="CyberStudent123!"
|
||||||
|
|
||||||
|
# Create a salted SHA-256 hash [cite: 53]
|
||||||
|
echo -n "${SALT}${PASSWORD}" | sha256sum
|
||||||
|
import "2.1salt.png"
|
||||||
|
|
||||||
|
# Create an unsalted SHA-256 hash for comparison [cite: 57]
|
||||||
|
echo -n "${PASSWORD}" | sha256sum
|
||||||
|
import "2.2unsalt.png"
|
||||||
|
|
||||||
|
## Part 3
|
||||||
|
|
||||||
|
# Create and edit the hashes file [cite: 69]
|
||||||
|
echo "5f4dcc3b5aa765d61d8327deb882cf99
|
||||||
|
e10adc3949ba59abbe56e057f20f883e
|
||||||
|
25d55ad283aa400af464c76d713c07ad" > hashes.txt
|
||||||
|
|
||||||
|
# Decompress the rockyou wordlist [cite: 76]
|
||||||
|
sudo gzip -dk /usr/share/wordlists/rockyou.txt.gz 2>/dev/null
|
||||||
|
|
||||||
|
# Run John the Ripper using the wordlist [cite: 76]
|
||||||
|
john --format=raw-md5 --wordlist=/usr/share/wordlists/rockyou.txt hashes.txt
|
||||||
|
import "3.3crackedHashes.png"
|
||||||
|
|
||||||
|
# Display the cracked results [cite: 79]
|
||||||
|
john --show --format=raw-md5 hashes.txt
|
||||||
|
|
||||||
|
|
||||||
|
### PART 4
|
||||||
|
# Run a Hashcat dictionary attack (Mode 0 is MD5) [cite: 89]
|
||||||
|
hashcat -m 0 hashes.txt /usr/share/wordlists/rockyou.txt --force
|
||||||
|
|
||||||
|
# Show Hashcat results [cite: 91]
|
||||||
|
hashcat -m 0 --show hashes.txt
|
||||||
|
import "4.1hashCatCracket.png"
|
||||||
16
readme.md
Normal file
16
readme.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#River Rooks zsh config
|
||||||
|
add this line to "/etc/zsh/zshenv" `export ZDOTDIR="$HOME/.config/zsh"`
|
||||||
|
make sure this directory is named `zsh`
|
||||||
|
|
||||||
|
# Prerequisits
|
||||||
|
- oh-my-zsh
|
||||||
|
- fzf
|
||||||
|
- bat
|
||||||
|
- nerdfont
|
||||||
|
- eza
|
||||||
|
- ...
|
||||||
|
|
||||||
|
# TODO
|
||||||
|
add zsh clipboard
|
||||||
|
add zpm packager manager
|
||||||
|
firgure out pluings
|
||||||
128
shell.omp.json
Normal file
128
shell.omp.json
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||||
|
"blocks": [
|
||||||
|
{
|
||||||
|
"alignment": "left",
|
||||||
|
"newline": true,
|
||||||
|
"segments": [
|
||||||
|
{
|
||||||
|
"foreground": "#ffbebc",
|
||||||
|
"leading_diamond": "<#ff70a6> \ue200 </>",
|
||||||
|
"style": "diamond",
|
||||||
|
"template": "{{ .UserName }} <#ffffff>on</>",
|
||||||
|
"type": "session"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"foreground": "#bc93ff",
|
||||||
|
"options": {
|
||||||
|
"time_format": "Monday <#ffffff>at</> 3:04 PM"
|
||||||
|
},
|
||||||
|
"style": "diamond",
|
||||||
|
"template": " {{ .CurrentDate | date .Format }} ",
|
||||||
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"foreground": "#ee79d1",
|
||||||
|
"options": {
|
||||||
|
"branch_icon": "\ue725 ",
|
||||||
|
"fetch_status": true,
|
||||||
|
"fetch_upstream_icon": true
|
||||||
|
},
|
||||||
|
"style": "diamond",
|
||||||
|
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
||||||
|
"type": "git"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "docker",
|
||||||
|
"style": "powerline",
|
||||||
|
"powerline_symbol": "",
|
||||||
|
"foreground": "#000000",
|
||||||
|
"background": "#0B59E7",
|
||||||
|
"template": " {{ .Context }} ",
|
||||||
|
"display_mode": "files",
|
||||||
|
"fetch_context": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "prompt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alignment": "right",
|
||||||
|
"segments": [
|
||||||
|
{
|
||||||
|
"foreground": "#a9ffb4",
|
||||||
|
"style": "plain",
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"foreground": "#a9ffb4",
|
||||||
|
"options": {
|
||||||
|
"style": "dallas",
|
||||||
|
"threshold": 0
|
||||||
|
},
|
||||||
|
"style": "diamond",
|
||||||
|
"template": " {{ .FormattedMs }}s <#ffffff>\ue601</>",
|
||||||
|
"type": "executiontime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"options": {
|
||||||
|
"root_icon": "\uf292 "
|
||||||
|
},
|
||||||
|
"style": "diamond",
|
||||||
|
"template": " \uf0e7 ",
|
||||||
|
"type": "root"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"foreground": "#94ffa2",
|
||||||
|
"style": "diamond",
|
||||||
|
"template": " <#ffffff>MEM:</> {{ round .PhysicalPercentUsed .Precision }}% ({{ (div ((sub .PhysicalTotalMemory .PhysicalAvailableMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB)",
|
||||||
|
"type": "sysinfo"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"foreground": "#ffbebc",
|
||||||
|
"style": "diamond",
|
||||||
|
"template": " {{ .HostName }}",
|
||||||
|
"type": "session"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "prompt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alignment": "left",
|
||||||
|
"newline": true,
|
||||||
|
"segments": [
|
||||||
|
{
|
||||||
|
"foreground": "#ffafd2",
|
||||||
|
"leading_diamond": "<#00c7fc> \ue285 </><#ffafd2>{</>",
|
||||||
|
"options": {
|
||||||
|
"folder_icon": "\uf07b",
|
||||||
|
"folder_separator_icon": " \uebcb ",
|
||||||
|
"home_icon": "home",
|
||||||
|
"style": "agnoster_full"
|
||||||
|
},
|
||||||
|
"style": "diamond",
|
||||||
|
"template": " \ue5ff {{ .Path }} ",
|
||||||
|
"trailing_diamond": "<#ffafd2>}</>",
|
||||||
|
"type": "path"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"foreground": "#A9FFB4",
|
||||||
|
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"],
|
||||||
|
"options": {
|
||||||
|
"always_enabled": true
|
||||||
|
},
|
||||||
|
"style": "plain",
|
||||||
|
"template": " \ue286 ",
|
||||||
|
"type": "status"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "prompt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"console_title_template": "{{ .Folder }}",
|
||||||
|
"transient_prompt": {
|
||||||
|
"background": "transparent",
|
||||||
|
"foreground": "#FEF5ED",
|
||||||
|
"template": "\ue285 "
|
||||||
|
},
|
||||||
|
"version": 4
|
||||||
|
}
|
||||||
5
vars
Normal file
5
vars
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
obsidian_vault=/home/venus/Documents/Personal-Wiki/
|
||||||
|
zsh="Application name zsh-omp
|
||||||
|
API key 100b480769829693cf3bdb752c44737a
|
||||||
|
Shared secret 2fd5b57d2925100c397dd1f4b4311c01
|
||||||
|
Registered to Skoorrevir"
|
||||||
24
zsh.config
24
zsh.config
@@ -5,8 +5,8 @@ if [ $debug = 1 ]; then echo reading config from $0
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# source global shell alias & variables files
|
# source global shell alias & variables files
|
||||||
[ -f "$XDG_CONFIG_HOME/alias" ] && source "$XDG_CONFIG_HOME/alias"
|
[ -f "$XDG_CONFIG_HOME/zsh/alias" ] && source "$XDG_CONFIG_HOME/zsh/alias"
|
||||||
[ -f "$XDG_CONFIG_HOME/vars" ] && source "$XDG_CONFIG_HOME/vars"
|
[ -f "$XDG_CONFIG_HOME/zsh/vars" ] && source "$XDG_CONFIG_HOME/zsh/vars"
|
||||||
|
|
||||||
# load modules
|
# load modules
|
||||||
zmodload zsh/complist
|
zmodload zsh/complist
|
||||||
@@ -59,7 +59,6 @@ bindkey "^K" history-search-backward
|
|||||||
bindkey '^R' fzf-history-widget
|
bindkey '^R' fzf-history-widget
|
||||||
bindkey -s '^[[1;5A' "!!^M"
|
bindkey -s '^[[1;5A' "!!^M"
|
||||||
|
|
||||||
|
|
||||||
# open fff file manager with ctrl f
|
# open fff file manager with ctrl f
|
||||||
# openfff() {
|
# openfff() {
|
||||||
# fff <$TTY
|
# fff <$TTY
|
||||||
@@ -68,18 +67,23 @@ bindkey -s '^[[1;5A' "!!^M"
|
|||||||
#zle -N openfff
|
#zle -N openfff
|
||||||
#bindkey '^f' openfff
|
#bindkey '^f' openfff
|
||||||
|
|
||||||
|
|
||||||
# set up prompt
|
# set up prompt
|
||||||
|
|
||||||
# autosuggestions
|
# autosuggestions
|
||||||
# requires zsh-autosuggestions
|
# requires zsh-autosuggestions
|
||||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
if [ -n "/usr/share/zsh/plugins " ]; then
|
||||||
|
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
|
||||||
|
|
||||||
#setup oh-my-posh shell
|
#setup oh-my-posh shell
|
||||||
if [ $TERM = "xterm-kitty" ] || [ $NVIM ]; then
|
if [ $TERM = "xterm-kitty" ] || [ $NVIM ]; then
|
||||||
eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/oh-my-posh/1_shell.omp.json)"
|
eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/zsh/shell.omp.json)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# replace cd with zoxide (fzf support for changing dir)
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user