dotfiles/home/dot_zshrc

67 lines
2.0 KiB
Plaintext
Raw Normal View History

2023-05-21 17:12:28 -07:00
##⠀⠀⠀⠀⠀⠀⠀⠀⢠⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀
#⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀
#⠀⠀⠀⠀⠀⠀⠀⠀⣼⡏⠸⣧⠀⠀⠀⠀⠀⠀⠀⠀
#⠠⢤⣤⣤⣤⣤⣤⣴⡿⠀⠀⢻⣦⣤⣤⣤⣤⣤⡤⠄ Tyler Starr (starr-dusT)
#⠀⠀⠙⠻⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⣠⣴⠟⠋⠀⠀ https://github.com/starr-dusT/dotfiles
#⠀⠀⠀⠀⠀⠙⣿⡆⠀⠀⠀⠀⠰⣿⠋⠀⠀⠀⠀⠀ https://tstarr.us
#⠀⠀⠀⠀⠀⢰⡟⠀⣀⣴⣦⣀⠀⢻⡆⠀⠀⠀⠀⠀
#⠀⠀⠀⠀⢀⣾⣧⡾⠛⠁⠈⠙⠷⣼⣿⡀⠀⠀⠀⠀
# ⠀⠀⠀⡸⠟⠁⠀⠀⠀⠀⠀⠀⠈⠛⢧⠀⠀⠀⠀
#
# Zsh config.
# Zsh specific config
2022-12-21 00:07:52 -08:00
export ZSH="$HOME/.oh-my-zsh"
2023-05-21 17:12:28 -07:00
DISABLE_AUTO_UPDATE="true"
plugins=(git zsh-syntax-highlighting)
2023-05-21 17:12:28 -07:00
ZSH_THEME="dracula/dracula"
2022-12-21 00:07:52 -08:00
source $ZSH/oh-my-zsh.sh
2023-05-21 17:12:28 -07:00
# Export PATHs
export EDITOR=nvim
2023-06-08 16:48:27 -07:00
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then PATH="$HOME/.local/bin:$HOME/bin:$PATH"; fi
if ! [[ "$PATH" =~ "$HOME/.nimble/bin:" ]]; then PATH="$HOME/.nimble/bin:$PATH"; fi
if ! [[ "$PATH" =~ "$HOME/.cargo/bin:" ]]; then PATH="$HOME/.cargo/bin:$PATH" ; fi
2022-12-21 00:07:52 -08:00
export PATH
2023-05-21 17:12:28 -07:00
# Create Aliases
2023-05-13 19:09:08 -07:00
2023-05-21 17:12:28 -07:00
# Nixos
2023-05-13 19:09:08 -07:00
alias nixos-update='cd ~/.local/share/chezmoi/provision/nixos && \
sudo nixos-rebuild switch --flake .#$(hostname) && \
cd -'
2023-05-21 17:12:28 -07:00
# Sway
alias s='sway'
2023-04-01 16:23:45 -07:00
# tmuxinator
alias tsplat='tmuxinator start splat'
alias tdot='tmuxinator start dot'
alias ttask='tmuxinator start task'
2022-12-21 00:07:52 -08:00
# Chezmoi
2023-05-07 16:51:37 -07:00
alias cc="cd ~/.local/share/chezmoi"
alias cdr="chezmoi apply --verbose --dry-run"
alias ca="chezmoi apply"
2022-12-23 16:07:26 -08:00
# trashcli
alias rm='echo "This is not the command you are looking for."; false'
alias tp='trash-put'
alias te='trash-empty'
alias tl='trash-list'
alias tre='trash-restore'
alias trm='trash-rm'
2023-01-14 12:54:09 -08:00
alias rofi='wayland-rofi'
2023-05-21 17:12:28 -07:00
# Fedora
2023-04-30 20:40:44 -07:00
alias update-grub='sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg'
2023-05-21 17:12:28 -07:00
# Void
alias xi="sudo xbps-install"
alias xr="sudo xbps-remove"
alias xl="void-list-packages"