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"
|
2023-07-23 14:34:39 -07:00
|
|
|
plugins=(git zsh-syntax-highlighting fzf-dir-navigator)
|
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-09-02 18:04:51 -07:00
|
|
|
PROMPT="%{$fg[red]%}%m%{$fg[green]%} ➜ %{$fg[blue]%}%1~%{$reset_color%}%{$fg[red]%}%{$reset_color%} $(git_prompt_info)%{$fg[cyan]%}%{$reset_color%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=" ✗"
|
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=" ✔"
|
2022-12-21 00:07:52 -08:00
|
|
|
|
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-07-23 15:20:10 -07:00
|
|
|
alias nixos-update="cd ~/.local/share/chezmoi/provision/nixos && \
|
2023-05-13 19:09:08 -07:00
|
|
|
sudo nixos-rebuild switch --flake .#$(hostname) && \
|
2023-07-23 14:34:39 -07:00
|
|
|
cd -"
|
2023-01-09 17:09:31 -08:00
|
|
|
|
2023-05-21 17:12:28 -07:00
|
|
|
# Sway
|
|
|
|
alias s='sway'
|
2023-04-01 16:23:45 -07:00
|
|
|
|
2023-01-09 17:09:31 -08: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"
|
2022-12-25 20:43:52 -08:00
|
|
|
alias cdr="chezmoi apply --verbose --dry-run"
|
|
|
|
alias ca="chezmoi apply"
|
2023-07-03 16:57:11 -07:00
|
|
|
alias ce='chezmoi edit'
|
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-01-03 21:33:20 -08:00
|
|
|
|
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"
|
2023-06-24 17:57:19 -07:00
|
|
|
|
|
|
|
# nnn
|
|
|
|
alias n="nnn -e"
|
|
|
|
export NNN_FCOLORS='0000E6310000000000000000'
|
|
|
|
export NNN_PLUG='f:finder;o:fzopen;d:diffs;t:nmount;v:imgview;q:preview-tui'
|
|
|
|
export NNN_FIFO="/tmp/nnn.fifo"
|
2023-07-06 09:51:19 -07:00
|
|
|
export NNN_TRASH=1
|