Update dotfiles (2026-01-19 19:48:47)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# -----------------------------------------------------
|
||||
# INIT
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Exports
|
||||
# -----------------------------------------------------
|
||||
export EDITOR=nvim
|
||||
export PATH="/usr/lib/ccache/bin/:$PATH"
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
@@ -0,0 +1,18 @@
|
||||
# -----------------------------------------------------
|
||||
# ALIASES
|
||||
# -----------------------------------------------------
|
||||
|
||||
alias ff='fastfetch'
|
||||
alias v='$EDITOR'
|
||||
alias cod='conda deactivate'
|
||||
alias grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
|
||||
alias up='yay -Syu --noconfirm'
|
||||
alias exit='systemctl poweroff'
|
||||
alias reboot="hyprshutdown --post-cmd 'systemctl reboot'"
|
||||
alias shutdown="hyprshutdown --post-cmd 'systemctl poweroff'"
|
||||
|
||||
alias gcredential="git config credential.helper store"
|
||||
alias gitup='python ~/.config/hypr/scripts/Github.py'
|
||||
|
||||
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,57 @@
|
||||
# -----------------------------------------------------
|
||||
# CUSTOMIZATION
|
||||
# -----------------------------------------------------
|
||||
|
||||
precmd() {
|
||||
echo -ne "\e[6 q"
|
||||
}
|
||||
|
||||
# -----------------------------------------------------
|
||||
# oh-myzsh themes: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
# -----------------------------------------------------
|
||||
# ZSH_THEME=catppuccin-mocha
|
||||
|
||||
# -----------------------------------------------------
|
||||
# oh-myzsh plugins
|
||||
# -----------------------------------------------------
|
||||
plugins=(
|
||||
git
|
||||
sudo
|
||||
web-search
|
||||
archlinux
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
fast-syntax-highlighting
|
||||
copyfile
|
||||
copybuffer
|
||||
dirhistory
|
||||
universalarchive
|
||||
tldr
|
||||
extract
|
||||
)
|
||||
|
||||
# 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
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Starship promt
|
||||
# -----------------------------------------------------
|
||||
# eval "$(starship init zsh)"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# oh-my-posh promt
|
||||
# -----------------------------------------------------
|
||||
# Custom Theme
|
||||
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/Zachjittery.omp.json)"
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# -----------------------------------------------------
|
||||
# AUTOSTART
|
||||
# -----------------------------------------------------
|
||||
|
||||
# Fastfetch
|
||||
if [[ $(tty) == *"pts"* ]]; then
|
||||
fastfetch --config ~/.config/fastfetch/Gif.jsonc
|
||||
else
|
||||
echo
|
||||
if [ -f /bin/qtile ]; then
|
||||
echo "Start Qtile X11 with command Qtile"
|
||||
fi
|
||||
if [ -f /bin/hyprctl ]; then
|
||||
echo "Start Hyprland with command Hyprland"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Tmux
|
||||
# if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
# tmux attach-session -t default || tmux new-session -s default
|
||||
# fi
|
||||
#
|
||||
# Vencord alias
|
||||
vencord() {
|
||||
zsh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
|
||||
}
|
||||
Reference in New Issue
Block a user