|
|
|
@ -13,36 +13,29 @@ export XDG_DATA_HOME="$HOME/.local/share"
|
|
|
|
|
export XDG_STATE_HOME="$HOME/.local/state"
|
|
|
|
|
|
|
|
|
|
# Aliases
|
|
|
|
|
alias kon="ncmpcpp -b ~/.config/ncmpcpp/bindings"
|
|
|
|
|
alias myip="curl ifconfig.me"
|
|
|
|
|
alias c='clear'
|
|
|
|
|
alias cd="z"
|
|
|
|
|
alias find="fd"
|
|
|
|
|
alias gdb="gdb -x /usr/share/pwndbg/gdbinit.py" #pwntools for GDB
|
|
|
|
|
alias ghidra="_JAVA_AWT_WM_NONREPARENTING=1 ghidra"
|
|
|
|
|
alias ls='eza'
|
|
|
|
|
alias icat="kitty +kitten icat"
|
|
|
|
|
alias imv="imv -b aa77bb"
|
|
|
|
|
alias kon="ncmpcpp -b ~/.config/ncmpcpp/bindings"
|
|
|
|
|
alias l='ls -l'
|
|
|
|
|
alias la='ls -la'
|
|
|
|
|
alias lg='lazygit'
|
|
|
|
|
alias ll='ls -l'
|
|
|
|
|
alias lla='ls -la'
|
|
|
|
|
alias v="nvim" # Launch neovim with 'v'
|
|
|
|
|
alias mountUSB="mount /home/flyingstitchman/ExternalDrive" # Automagically mount and unmount my flashdrive
|
|
|
|
|
alias umountUSB="umount /home/flyingstitchman/ExternalDrive"
|
|
|
|
|
alias unityAvi="/home/flyingstitchman/Documents/Unity/Editors/2019.4.31f1/Editor/Unity -projectPath ~/ExternalDrive/Unity\ Projects/Avatar\ 3.0\ 2019"
|
|
|
|
|
alias ssh="TERM=xterm ssh" #Fix foot issue in ssh
|
|
|
|
|
alias gdb="gdb -x /usr/share/pwndbg/gdbinit.py" #pwntools for GDB
|
|
|
|
|
alias ls='eza'
|
|
|
|
|
alias make="make -j 20"
|
|
|
|
|
alias cd="z"
|
|
|
|
|
alias imv="imv -b aa77bb"
|
|
|
|
|
alias find="fd"
|
|
|
|
|
alias tree="eza --tree"
|
|
|
|
|
alias icat="kitty +kitten icat"
|
|
|
|
|
alias mountUSB="mount ~/ExternalDrive" # Automagically mount and unmount my flashdrive
|
|
|
|
|
alias myip="curl ifconfig.me"
|
|
|
|
|
alias qsus="NIXPKGS_ALLOW_UNFREE=1 nix-shell -p quartus-prime-lite -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/fe7ab74a86d78ba00d144aa7a8da8c71a200c563.tar.gz"
|
|
|
|
|
|
|
|
|
|
# thanks fire :3
|
|
|
|
|
alias c='clear'
|
|
|
|
|
alias lg='lazygit'
|
|
|
|
|
# Future fire, this is for a meme.
|
|
|
|
|
nya() {
|
|
|
|
|
args=$(echo $@ | sed 's/nya/git/g')
|
|
|
|
|
git $args 2>&1 >/dev/null | sed 's/git/nya/g' | sed 's/GIT/NYA/g' | sed 's/Git/Nya/g'
|
|
|
|
|
}
|
|
|
|
|
alias ssh="TERM=xterm ssh" #Fix foot issue in ssh
|
|
|
|
|
alias tree="eza --tree"
|
|
|
|
|
alias umountUSB="umount ~/ExternalDrive"
|
|
|
|
|
alias unityAvi="~/Documents/Unity/Editors/2019.4.31f1/Editor/Unity -projectPath ~/ExternalDrive/Unity\ Projects/Avatar\ 3.0\ 2019"
|
|
|
|
|
alias v="nvim" # Launch neovim with 'v'
|
|
|
|
|
|
|
|
|
|
# Automatically get new programs for autocompletion
|
|
|
|
|
|
|
|
|
@ -102,17 +95,10 @@ compinit
|
|
|
|
|
# End of lines added by compinstall
|
|
|
|
|
eval "$(zoxide init zsh)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Default Programs
|
|
|
|
|
export EDITOR=nvim
|
|
|
|
|
|
|
|
|
|
# Needed for pam_gnupg for ssh keys TO DO
|
|
|
|
|
#export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
|
|
|
export PATH="${PATH}:/home/flyingstitchman/.cargo/bin"
|
|
|
|
|
|
|
|
|
|
# Fcitx for Xwayland
|
|
|
|
|
XMODIFIERS=@im=fcitx
|
|
|
|
|
|
|
|
|
|
# Clean Up
|
|
|
|
|
export QT_QPA_PLATFORM=wayland
|
|
|
|
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
|
|
@ -138,6 +124,8 @@ export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
alias dosbox="dosbox -conf $XDG_CONFIG_HOME/dosbox/dosbox.conf"
|
|
|
|
|
|
|
|
|
|
# Nixos Rebuilding
|
|
|
|
|
alias rbs="reconfig switch"
|
|
|
|
|
alias rbb="reconfig build"
|
|
|
|
|
|
|
|
|
@ -147,11 +135,10 @@ reconfig() {
|
|
|
|
|
|
|
|
|
|
# Autostart Hyprland after all environmental Variables have been declared
|
|
|
|
|
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|
|
|
|
# export WLR_DRM_DEVICES=/dev/dri/card0
|
|
|
|
|
exec Hyprland
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
export QSYS_ROOTDIR="/home/flyingstitchman/.cache/paru/clone/quartus-free/pkg/quartus-free-quartus/opt/intelFPGA/21.1/quartus/sopc_builder/bin"
|
|
|
|
|
export QSYS_ROOTDIR="~/.cache/paru/clone/quartus-free/pkg/quartus-free-quartus/opt/intelFPGA/21.1/quartus/sopc_builder/bin"
|
|
|
|
|
|
|
|
|
|
# Nix Direnv Support
|
|
|
|
|
eval "$(direnv hook zsh)"
|
|
|
|
|