125 lines
4.1 KiB
Bash
Executable file
125 lines
4.1 KiB
Bash
Executable file
HISTFILE=~/.zshist
|
|
HISTSIZE=1000
|
|
SAVEHIST=5000
|
|
|
|
export EDITOR=nvim
|
|
export LIBVA_DRIVER_NAME=vdpau
|
|
export VDPAU_DRIVER=nvidia
|
|
|
|
#export XDG_SESSION_TYPE=wayland
|
|
#export GBM_BACKEND=nvidia-drm
|
|
#export MOZ_ENABLE_WAYLAND=1
|
|
#export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
|
|
|
#EBOOKS="/mnt/Pyon/E-Books/"
|
|
|
|
|
|
###autocomplete
|
|
#source ~/Documents/Scripts/zsh/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
|
###autosuggestions
|
|
source ~/Documents/Scripts/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
|
|
unsetopt autocd beep
|
|
zstyle :compinstall filename '/home/zoey/.zshrc'
|
|
#autoload -Uz compinit && compinit
|
|
zstyle ':completion:*' menu select
|
|
tput smkx
|
|
|
|
# history
|
|
autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
|
|
zle -N up-line-or-beginning-search
|
|
zle -N down-line-or-beginning-search
|
|
|
|
[[ -n "${key[Up]}" ]] && bindkey -- "${key[Up]}" up-line-or-beginning-search
|
|
[[ -n "${key[Down]}" ]] && bindkey -- "${key[Down]}" down-line-or-beginning-search
|
|
|
|
#bindkey -v
|
|
bindkey "^[[2~" overwrite-mode # Ins
|
|
bindkey "^[[3~" delete-char # Del
|
|
bindkey "^[[5~" beginning-of-history #PageUp
|
|
bindkey "^[[6~" end-of-history #PageDown
|
|
|
|
### ctrl+arrows
|
|
bindkey "\e[1;5C" forward-word
|
|
bindkey "\e[1;5D" backward-word
|
|
|
|
### ctrl+delete
|
|
bindkey "\e[3;5~" kill-word
|
|
|
|
### ctrl+backspace
|
|
bindkey '^H' backward-kill-word
|
|
|
|
# random
|
|
|
|
################# LOOKS #####################
|
|
|
|
# prompt
|
|
autoload -Uz promptinit && promptinit
|
|
|
|
PROMPT='🐰%F{204}%n%f%F{161}@%f%m %F{096}%~%f %F{204}🌺%f '
|
|
|
|
################ ALIASES ####################
|
|
|
|
# ssh
|
|
|
|
alias rib='systemctl reboot'
|
|
alias initshit='ls -lh /boot | grep img'
|
|
|
|
alias lappy='ssh zoopy@192.168.0.56'
|
|
alias janedoe='ssh jane\ doe@192.168.122.47'
|
|
|
|
# QEMU
|
|
alias screamloop='sh ~/Documents/Scripts/screamloop.sh'
|
|
|
|
alias attachm='sudo sh ~/Documents/Scripts/attachmain.sh'
|
|
alias attachs='sudo sh ~/Documents/Scripts/attachsecondary.sh'
|
|
|
|
alias govp='sudo sh ~/Documents/Scripts/perfgov.sh'
|
|
alias govs='sudo sh ~/Documents/Scripts/schedutilgov.sh'
|
|
alias govo='sudo sh ~/Documents/Scripts/ondemandgov.sh'
|
|
|
|
# Open Tablet Driver
|
|
alias otdo='otd applypreset osu'
|
|
alias otdar='otd applypreset Artist'
|
|
alias otdab='otd applypreset Absolute'
|
|
|
|
# random
|
|
alias animemovies='cd /mnt/Pyon/Videos/Anime\ Movies/ && ls'
|
|
alias anime='cd /mnt/Pyon/Videos/Anime && ls'
|
|
alias movies='cd /mnt/Pyon/Videos/Movies && ls'
|
|
alias cw='cd /home/zoey/Documents/Current\ Work'
|
|
alias piperestart='systemctl --user restart --now pipewire-media-session.service'
|
|
alias sb='cd ~/Documents/Sawabot/ && sh Sawabot.sh'
|
|
#alias mkdaughter='sudo mkinitcpio -p linux -- --uefi /boot/EFI/Linux/daughter.efi'
|
|
alias mkdaughterzen='sudo mkinitcpio -p linux-zen -- --uefi /boot/EFI/Baby/daughter-zen.efi'
|
|
alias mergeassets='sh Documents/Scripts/mergeassets.sh'
|
|
alias xevsx='sh Documents/Scripts/xevsx.sh'
|
|
|
|
alias main75='xrandr --output HDMI-0 --mode 1920x1080 --rate 75'
|
|
alias main60='xrandr --output HDMI-0 --mode 1920x1080 --rate 60'
|
|
|
|
alias rs='cd /mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/common/Rocksmith2014/ && PIPEWIRE_LATENCY="256/48000" DXVK_FILTER_DEVICE_NAME="1060" WINEPREFIX=/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/compatdata/221680/pfx/ /home/zoey/.steam/steam/compatibilitytools.d/GE-Proton7-38/files/bin/wine /mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/common/Rocksmith2014/Rocksmith2014.exe'
|
|
|
|
alias xlog='more /var/log/Xorg.0.log'
|
|
|
|
alias grabber='chmod +x /home/zoey/AppImages/Grabber*.AppImage && /home/zoey/AppImages/Grabber*.AppImage'
|
|
alias grb='mv --backup=t /home/zoey/Pictures/Random/Grabber /home/zoey/Pictures/Random/GR'
|
|
|
|
alias dockerstream='sudo docker run -d -p 1935:1935 --name nginx-rtmp tiangolo/nginx-rtmp'
|
|
alias dockerstreamstop='sudo docker stop nginx-rtmp && sudo docker rm nginx-rtmp'
|
|
|
|
alias cmmn='~/Documents/Scripts/convert-mov-mp4-nvenc.sh'
|
|
alias transd='transmission-daemon -t -u zoey -v uwu -p 9069 -a "127.0.0.1"'
|
|
|
|
alias drp='echo 1 | sudo tee /proc/sys/vm/drop_caches'
|
|
|
|
alias swnv='sh /home/zoey/Documents/Scripts/sway.sh'
|
|
|
|
alias sdf='cd /home/zoey/Documents/gitclone/stable-diffusion-webui-forge/ && sh webui.sh --api'
|
|
|
|
alias rpcs3='exec /home/zoey/AppImages/rpcs3-*.AppImage'
|
|
|
|
alias zoopmando='sh /mnt/Angie/FactorioServer/zoopmando.sh'
|
|
|
|
|
|
eval "$(zoxide init --cmd cd zsh)"
|