Update dotfiles (2026-01-19 19:22:35)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# -----------------------------------------------------
|
||||
# INIT
|
||||
# -----------------------------------------------------
|
||||
# -----------------------------------------------------
|
||||
# Exports
|
||||
# -----------------------------------------------------
|
||||
export EDITOR=nvim
|
||||
export PATH="/usr/lib/ccache/bin/:$HOME/tools/lua-language-server/:$PATH:/home/zach/.npm-g/bin"
|
||||
export PYTHONPATH="/home/zach/.local/lib/python3.12/site-packages"
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
@@ -0,0 +1,29 @@
|
||||
# -----------------------------------------------------
|
||||
# ALIASES
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# General
|
||||
# -----------------------------------------------------
|
||||
alias clear='clear && fastfetch'
|
||||
alias c='clear'
|
||||
alias cp='cpv'
|
||||
alias v='nvim'
|
||||
alias vim='$EDITOR'
|
||||
alias reboot="hyprshutdown --post-cmd 'systemctl reboot'"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Vencord Installer
|
||||
# -----------------------------------------------------
|
||||
vencord() {
|
||||
zsh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
|
||||
}
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Custom
|
||||
# -----------------------------------------------------
|
||||
alias p='python3'
|
||||
|
||||
|
||||
alias dot='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
||||
@@ -0,0 +1,51 @@
|
||||
# -----------------------------------------------------
|
||||
# CUSTOMIZATION
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# oh-myzsh plugins
|
||||
# -----------------------------------------------------
|
||||
plugins=(
|
||||
git
|
||||
sudo
|
||||
web-search
|
||||
archlinux
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
fast-syntax-highlighting
|
||||
copyfile
|
||||
copybuffer
|
||||
dirhistory
|
||||
command-not-found
|
||||
conda-env
|
||||
cp
|
||||
copypath
|
||||
extract
|
||||
tldr
|
||||
universalarchive
|
||||
)
|
||||
|
||||
# Set-up oh-my-zsh
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
|
||||
# -----------------------------------------------------
|
||||
source <(fzf --zsh)
|
||||
|
||||
# zsh history
|
||||
HISTFILE=~/.zsh_history
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
setopt appendhistory
|
||||
|
||||
# -----------------------------------------------------
|
||||
# oh-my-posh prompt
|
||||
# -----------------------------------------------------
|
||||
# Custom Theme
|
||||
eval "$(oh-my-posh init zsh --config ~/.config/ohmyposh/.microverse.omp.json)"
|
||||
|
||||
# Precmd to set cursor to beam
|
||||
precmd() {
|
||||
echo -ne "\e[6 q"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
fastfetch
|
||||
Reference in New Issue
Block a user