From 859dbd855a9d34a286d9e3b67d68b0f393455efb Mon Sep 17 00:00:00 2001 From: venus Date: Fri, 24 Jul 2026 05:53:37 -0500 Subject: [PATCH] added aliases and fixed some keybinds --- .zcompdump | 172 +++++++++++++++++++++++++++++------------------------ alias | 11 ++++ zsh.config | 2 + 3 files changed, 107 insertions(+), 78 deletions(-) diff --git a/.zcompdump b/.zcompdump index 75c7cbd..116f72e 100644 --- a/.zcompdump +++ b/.zcompdump @@ -1,4 +1,4 @@ -#files: 916 version: 5.9.1 +#files: 921 version: 5.9.2 _comps=( '-' '_precommand' @@ -27,6 +27,8 @@ _comps=( 'adb' '_adb' 'add-zle-hook-widget' '_add-zle-hook-widget' 'add-zsh-hook' '_add-zsh-hook' +'age' '_age' +'age-keygen' '_age' 'ali' '_mh' 'alias' '_alias' 'amaya' '_webbrowser' @@ -356,6 +358,7 @@ _comps=( 'fc' '_fc' 'fc-list' '_xft_fonts' 'fc-match' '_xft_fonts' +'fd' '_fd' 'feh' '_feh' 'fetch-ebook-metadata' '_calibre' 'fetchmail' '_fetchmail' @@ -610,6 +613,7 @@ _comps=( 'gzgrep' '_grep' 'gzilla' '_webbrowser' 'gzip' '_gzip' +'hardlink' '_hardlink' 'hash' '_hash' 'hd' '_hexdump' 'head' '_head' @@ -734,6 +738,7 @@ _comps=( 'links' '_links' 'links2' '_links' 'linux' '_uml' +'lksh' '_sh' 'lldb' '_lldb' 'llvm-g++' '_gcc' 'llvm-gcc' '_gcc' @@ -906,6 +911,7 @@ _comps=( 'mysqlimport' '_mysql_utils' 'mysqlshow' '_mysql_utils' 'nail' '_mail' +'namei' '_namei' 'nano' '_nano' 'native2ascii' '_java' 'nautilus' '_nautilus' @@ -968,6 +974,7 @@ _comps=( 'opusdec' '_opustools' 'opusenc' '_opustools' 'opusinfo' '_opustools' +'osh' '_sh' 'p11-kit' '_p11-kit' 'p4' '_perforce' 'p4d' '_perforce' @@ -1031,6 +1038,7 @@ _comps=( 'picocom' '_picocom' 'pidof' '_pidof' 'pidstat' '_sysstat' +'pidwait' '_pgrep' 'pigz' '_gzip' 'pine' '_pine' 'pinef' '_pine' @@ -1065,6 +1073,7 @@ _comps=( 'policytool' '_java' 'pon' '_pon' 'popd' '_directory_stack' +'posh' '_sh' 'postconf' '_postfix' 'postgres' '_postgresql' 'postmaster' '_postgresql' @@ -1180,6 +1189,8 @@ _comps=( 'rgview' '_vim' 'rgvim' '_vim' 'ri' '_ri' +'rksh' '_sh' +'rksh93' '_sh' 'rlogin' '_rlogin' 'rm' '_rm' 'rmd160' '_cksum' @@ -1190,7 +1201,6 @@ _comps=( 'rmiregistry' '_java' 'rmm' '_mh' 'rmmod' '_rmmod' -'rmpc' '_rmpc' 'rnano' '_nano' 'route' '_route' 'rrdtool' '_rrdtool' @@ -1503,8 +1513,10 @@ _comps=( '-value-,ANSIBLE_INVENTORY_ENABLED,-default-' '_ansible' '-value-,ANSIBLE_STDOUT_CALLBACK,-default-' '_ansible' '-value-,ANT_ARGS,-default-' '_ant' +'-value-,CC,-default-' '_gcc' '-value-,CFLAGS,-default-' '_gcc' '-value-,CPPFLAGS,-default-' '_gcc' +'-value-,CXX,-default-' '_gcc' '-value-,CXXFLAGS,-default-' '_gcc' '-value-,DBUS_SESSION_BUS_ADDRESS,-default-' '_sd_bus_address' '-value-,DBUS_SYSTEM_BUS_ADDRESS,-default-' '_sd_bus_address' @@ -1611,6 +1623,7 @@ _comps=( 'wipefs' '_wipefs' 'wl-copy' '_wl-copy' 'wl-paste' '_wl-paste' +'wl-screenrec' '_wl-screenrec' 'wodim' '_cdrecord' 'wpa_cli' '_wpa_cli' 'wpctl' '_wpctl' @@ -1630,6 +1643,7 @@ _comps=( 'xfd' '_x_utils' 'xfig' '_xfig' 'xfontsel' '_x_utils' +'xfr' '_xfr' 'xfreerdp' '_rdesktop' 'xhost' '_x_utils' 'xinput' '_xinput' @@ -1685,6 +1699,7 @@ _comps=( 'ypset' '_yp' 'ypwhich' '_yp' 'ypxfr' '_yp' +'ysh' '_sh' 'ytalk' '_other_accounts' 'yt-dlp' '_yt-dlp' 'zargs' '_zargs' @@ -1862,19 +1877,19 @@ autoload -Uz _bat _bluetoothctl _bootctl _busctl _bwrap \ _calibre _cargo _coredumpctl _ctr _curl \ _deno _dkms _dng _dngconverter _docker \ _dolphin _dotnet _email-notmuch _exercism _eza \ - _fastfetch _flameshot _flatpak _gitleaks _hostnamectl \ - _hyprctl _hyprdynamicmonitors _hyprpm _hyprshade _hyprshell \ - _img2sixel _insmod _john _journalctl _jupyter \ - _kdeconnect _kde-inhibit _kernel-install _keyring _kitty \ - _krunner _kscreen-doctor _localectl _loginctl _lsmod \ - _luarocks _luarocks-admin _machinectl _medusa _meson \ - _mkinitcpio _mpv _msfconsole _msfvenom _networkctl \ - _ninja _niri _nix _notmuch _oomctl \ - _p11-kit _pacman _paru _pass _pip \ - _plasmashell _playerctl _poetry _pulseaudio _pwn \ - _qpdf _r2 _rabin2 _radiff2 _rafind2 \ - _ragg2 _rahash2 _rasm2 _rax2 _rclone \ - _resolvectl _rg _rmmod _rmpc _run0 \ + _fastfetch _fd _flameshot _flatpak _gitleaks \ + _hostnamectl _hyprctl _hyprdynamicmonitors _hyprpm _hyprshade \ + _hyprshell _img2sixel _insmod _john _journalctl \ + _jupyter _kdeconnect _kde-inhibit _kernel-install _keyring \ + _kitty _krunner _kscreen-doctor _localectl _loginctl \ + _lsmod _luarocks _luarocks-admin _machinectl _medusa \ + _meson _mkinitcpio _mpv _msfconsole _msfvenom \ + _networkctl _ninja _niri _nix _notmuch \ + _oomctl _p11-kit _pacman _paru _pass \ + _pip _plasmashell _playerctl _poetry _pulseaudio \ + _pwn _qpdf _r2 _rabin2 _radiff2 \ + _rafind2 _ragg2 _rahash2 _rasm2 _rax2 \ + _rclone _resolvectl _rg _rmmod _run0 \ _scrcpy _sd_bus_address _sd_hosts_or_user_at_host _sd_machines _sd_outputmodes \ _sd_unit_files _sensors _sensors-detect _shtab _storagectl \ _swayimg _swaylock _systemctl _systemd _systemd-analyze \ @@ -1883,69 +1898,70 @@ autoload -Uz _bat _bluetoothctl _bootctl _busctl _bwrap \ _timedatectl _tldr _trust _udevadm _udiskie \ _udiskie-canonical_paths _udiskie-mount _udiskie-umount _udisks2 _upower \ _userdbctl _uv _varlinkctl _wl-copy _wl-paste \ - _wpctl _ya _yay _yazi _yt-dlp \ - _zoxide _cdr _all_labels _all_matches _alternative \ - _approximate _arg_compile _arguments _as_if _bash_completions \ - _cache_invalid _call_function _combination _complete _complete_debug \ - _complete_help _complete_help_generic _complete_tag _comp_locale _correct \ - _correct_filename _correct_word _describe _description _dispatch \ - _expand _expand_alias _expand_word _extensions _external_pwds \ - _generic _guard _history _history_complete_word _ignored \ - _list _main_complete _match _menu _message \ - _most_recent_file _multi_parts _next_label _next_tags _normal \ - _nothing _numbers _oldlist _pick_variant _prefix \ - _read_comp _regex_arguments _regex_words _requested _retrieve_cache \ - _sep_parts _sequence _set_command _setup _store_cache \ - _sub_commands _tags _user_expand _values _wanted \ - _acpi _acpitool _alsa-utils _analyseplugin _basenc \ - _blkid _brctl _btrfs _capabilities _chattr \ - _choom _chrt _cpupower _cryptsetup _e2label \ - _ethtool _findmnt _free _fuse_arguments _fusermount \ - _fuse_values _gpasswd _htop _iconvconfig _ionice \ - _ipset _iptables _iwconfig _kpartx _losetup \ - _lsattr _lsblk _lsns _lsusb _ltrace \ - _lvm2 _mat _mat2 _mdadm _mii-tool \ - _modutils _mondo _networkmanager _nsenter _opkg \ - _perf _pidof _qdbus _schedtool _selinux \ - _selinux_contexts _selinux_roles _selinux_types _selinux_users _setpriv \ - _setsid _slabtop _ss _sshfs _strace \ - _sysstat _tload _tpb _tracepath _tune2fs \ - _uml _unshare _valgrind _vserver _wakeup_capable_devices \ - _wipefs _wpa_cli _7zip _a2ps _aap \ - _abcde _absolute_command_paths _ack _adb _ansible \ - _ant _antiword _apachectl _apm _arch_archives \ - _arch_namespace _arp _arping _asciidoctor _asciinema \ - _at _attr _augeas _avahi _awk \ - _base64 _basename _bash _baudrates _baz \ - _beep _bibtex _bind_addresses _bison _bittorrent \ - _bogofilter _bpf_filters _bpython _bzip2 _bzr \ - _cabal _cacaclock _cal _calendar _canonical_paths \ - _cat _ccal _cdcd _cdrdao _cdrecord \ - _chdman _chkconfig _chmod _chown _chroot \ - _chsh _cksum _clay _cmdambivalent _cmdstring \ - _cmp _col _column _comm _composer \ - _compress _configure _cowsay _cp _cpio \ - _cplay _crontab _cscope _csplit _cssh \ - _ctags _ctags_tags _curl _cut _cvs \ - _darcs _date _date_formats _dates _dbus \ - _dconf _dd _devtodo _df _dhclient \ - _dict _dict_words _diff _diff3 _diff_options \ - _diffstat _dig _directories _dir_list _django \ - _dmesg _dmidecode _dns_types _doas _domains \ - _dos2unix _drill _dropbox _dsh _dtruss \ - _du _dvi _ecasound _echo _ed \ - _elfdump _elinks _email_addresses _enscript _entr \ - _env _espeak _etags _fakeroot _feh \ - _fetchmail _ffmpeg _figlet _file_modes _files \ - _file_systems _find _find_net_interfaces _finger _fish \ - _flac _flex _fmt _fold _fortune \ - _fsh _fuser _gcc _gcore _gdb \ - _gem _genisoimage _getconf _getent _getfacl \ - _getmail _getopt _ghostscript _git _global \ - _global_tags _gnu_generic _gnupod _gnutls _go \ - _gpg _gphoto2 _gprof _gradle _graphicsmagick \ - _grep _groff _groups _growisofs _gsettings \ - _guilt _gzip _have_glob_qual _head _hexdump \ + _wl-screenrec _wpctl _xfr _ya _yay \ + _yazi _yt-dlp _zoxide _cdr _all_labels \ + _all_matches _alternative _approximate _arg_compile _arguments \ + _as_if _bash_completions _cache_invalid _call_function _combination \ + _complete _complete_debug _complete_help _complete_help_generic _complete_tag \ + _comp_locale _correct _correct_filename _correct_word _describe \ + _description _dispatch _expand _expand_alias _expand_word \ + _extensions _external_pwds _generic _guard _history \ + _history_complete_word _ignored _list _main_complete _match \ + _menu _message _most_recent_file _multi_parts _next_label \ + _next_tags _normal _nothing _numbers _oldlist \ + _pick_variant _prefix _read_comp _regex_arguments _regex_words \ + _requested _retrieve_cache _sep_parts _sequence _set_command \ + _setup _store_cache _sub_commands _tags _user_expand \ + _values _wanted _acpi _acpitool _alsa-utils \ + _analyseplugin _basenc _blkid _brctl _btrfs \ + _capabilities _chattr _choom _chrt _cpupower \ + _cryptsetup _e2label _ethtool _findmnt _free \ + _fuse_arguments _fusermount _fuse_values _gpasswd _htop \ + _iconvconfig _ionice _ipset _iptables _iwconfig \ + _kpartx _losetup _lsattr _lsblk _lsns \ + _lsusb _ltrace _lvm2 _mat _mat2 \ + _mdadm _mii-tool _modutils _mondo _namei \ + _networkmanager _nsenter _opkg _perf _pidof \ + _qdbus _schedtool _selinux _selinux_contexts _selinux_roles \ + _selinux_types _selinux_users _setpriv _setsid _slabtop \ + _ss _sshfs _strace _sysstat _tload \ + _tpb _tracepath _tune2fs _uml _unshare \ + _valgrind _vserver _wakeup_capable_devices _wipefs _wpa_cli \ + _7zip _a2ps _aap _abcde _absolute_command_paths \ + _ack _adb _age _ansible _ant \ + _antiword _apachectl _apm _arch_archives _arch_namespace \ + _arp _arping _asciidoctor _asciinema _at \ + _attr _augeas _avahi _awk _base64 \ + _basename _bash _baudrates _baz _beep \ + _bibtex _bind_addresses _bison _bittorrent _bogofilter \ + _bpf_filters _bpython _bzip2 _bzr _cabal \ + _cacaclock _cal _calendar _canonical_paths _cat \ + _ccal _cdcd _cdrdao _cdrecord _chdman \ + _chkconfig _chmod _chown _chroot _chsh \ + _cksum _clay _cmdambivalent _cmdstring _cmp \ + _col _column _comm _composer _compress \ + _configure _cowsay _cp _cpio _cplay \ + _crontab _cscope _csplit _cssh _ctags \ + _ctags_tags _curl _cut _cvs _darcs \ + _date _date_formats _dates _dbus _dconf \ + _dd _devtodo _df _dhclient _dict \ + _dict_words _diff _diff3 _diff_options _diffstat \ + _dig _directories _dir_list _django _dmesg \ + _dmidecode _dns_types _doas _domains _dos2unix \ + _drill _dropbox _dsh _dtruss _du \ + _dvi _ecasound _echo _ed _elfdump \ + _elinks _email_addresses _enscript _entr _env \ + _espeak _etags _fakeroot _feh _fetchmail \ + _ffmpeg _figlet _file_modes _files _file_systems \ + _find _find_net_interfaces _finger _fish _flac \ + _flex _fmt _fold _fortune _fsh \ + _fuser _gcc _gcore _gdb _gem \ + _genisoimage _getconf _getent _getfacl _getmail \ + _getopt _ghostscript _git _global _global_tags \ + _gnu_generic _gnupod _gnutls _go _gpg \ + _gphoto2 _gprof _gradle _graphicsmagick _grep \ + _groff _groups _growisofs _gsettings _guilt \ + _gzip _hardlink _have_glob_qual _head _hexdump \ _host _hostname _hosts _iconv _id \ _ifconfig _iftop _imagemagick _initctl _init_d \ _install _iostat _ip _ipsec _irssi \ diff --git a/alias b/alias index 1b987ae..c9cc4f1 100644 --- a/alias +++ b/alias @@ -26,6 +26,7 @@ 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="cd ~/.config/nvim && nvim $XDG_CONFIG_HOME/nvim/" +alias vvk="cd ~/.config/nvim && nvim $XDG_CONFIG_HOME/nvim/lua/keybinds.lua" alias sv="sudo -E nvim" alias va="nvim $XDG_CONFIG_HOME/alias && source ~/.config/alias" alias vz="nvim $XDG_CONFIG_HOME/zsh" @@ -34,14 +35,22 @@ alias g="gemini" alias cd="z" alias pms="sudo pacman -S" alias pmq="sudo pacman -Qe" +alias pq="sudo pacman -Qe" +alias pmr="sudo pacman -R" alias ipc="ipcheck" alias pr="ping riverrooks.dev" alias pg="ping gmail.com" alias snake="python3" +alias sce="sudo systemctl enable" +alias scs="sudo systemctl status" +alias sct="sudo systemctl start" +alias scr="sudo systemctl restart" 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 TT="| tail" +alias -g T="| tail -n " alias -g HH="| head" alias -g H="| head -n " alias -g S="| sort" @@ -51,4 +60,6 @@ alias -g W="| awk " alias -g C="| wl-copy" checkhash(){du $1 | sha256sum} alias hyprlogs="hyprctl eval 'hl.config({ debug = { disable_logs = false } })' && hyprctl rollinglog -f | grep --line-buffered 'Lua' && hyprctl eval 'hl.config({ debug = { disable_logs = true } })'" +alias vr="uv run" +alias c="uv run ctf" diff --git a/zsh.config b/zsh.config index a515231..9483fd0 100644 --- a/zsh.config +++ b/zsh.config @@ -58,6 +58,8 @@ bindkey "^H" backward-kill-word bindkey '^R' fzf-history-widget bindkey "\ej" history-search-forward bindkey "\ek" history-search-backward +bindkey "^\ej" history-beginning-search-forward +bindkey "^\ek" history-beginning-search-backward bindkey -s '^[[1;5A' "!!^M" bindkey '^ ' autosuggest-execute #accept and execute autosuggestion