Compare commits

..

No commits in common. "6fb77a634d14614d7293aa9e72096583b5f49f58" and "8e7de7e3b127ec5b528c51437bd59368ef3599c6" have entirely different histories.

2 changed files with 2 additions and 31 deletions

View File

@ -1,6 +1,2 @@
rogue.save
rogue.scr
xenia.log
discord_utils.log
discord_krisp.log
VirtualBoxVM.dxvk-cache

View File

@ -16,38 +16,13 @@ bindkey '^[[F' end-of-line
bindkey "^[[3~" delete-char
# Set aliases
alias ls="eza --icons --long"
alias grep="ugrep"
alias cd="z"
alias cat="bat -p"
alias update-mirrors="rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist; rate-mirrors chaotic-aur | sudo tee /etc/pacman.d/chaotic-mirrorlist"
alias update="paru; flatpak update"
function ls {
if [[ "$@" =~ "-a" || "$@" =~ "-A" || "$@" =~ "--all" || "$@" =~ "--almost-all" ]]; then
eza --icons --long $@
else
eza --icons --long --ignore-glob "$([[ -f .hidden ]] && cat .hidden | tr '\n' '|')" $@
fi
}
# Dotfiles management
function .add {
chezmoi add $1
chezmoi git diff
if $(read -q "?Commit changes? [y/N]"); then
chezmoi git commit -- -am $2
fi
}
function .re-add {
chezmoi re-add
chezmoi git diff
if $(read -q "?Commit changes? [y/N]"); then
chezmoi git commit -- -am $1
fi
}
alias .push="chezmoi git push"
alias .pull="chezmoi git pull"
alias .status="chezmoi git status"
alias .update="chezmoi update"
alias l="ls --ignore-glob '$([ -f .hidden ] && cat .hidden | tr '\n' '|')'"
# Helpful tool: https://zsh-prompt-generator.site/