idk why I was doing that
This commit is contained in:
@ -21,12 +21,6 @@ hash nvim 2>/dev/null && alias vim="nvim" && alias vi="nvim"
|
||||
hash trash-put 2>/dev/null && alias rm="trash-put" && alias tp="trash-put"
|
||||
hash gallery-dl 2>/dev/null && alias gallery-dl="gallery-dl --cookies-from-browser firefox"
|
||||
|
||||
if [[ -n $BASH_VERSION ]]; then
|
||||
alias rc='source "$XDG_CONFIG_HOME"/bash/.bashrc'
|
||||
elif [[ -n $ZSH_VERSION ]]; then
|
||||
alias rc='source "$XDG_CONFIG_HOME"/zsh/.zshrc'
|
||||
fi
|
||||
|
||||
if hash lsb_release 2>/dev/null; then
|
||||
if [[ $(lsb_release -si) =~ "Arch" ]]; then
|
||||
alias update-mirrors="rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist; rate-mirrors chaotic-aur | sudo tee /etc/pacman.d/chaotic-mirrorlist"
|
||||
|
@ -27,6 +27,9 @@ PS1='[\u@\h \w]\$ '
|
||||
|
||||
[[ -f $XDG_CONFIG_HOME/bash/.bash_aliases ]] && source "$XDG_CONFIG_HOME/bash/.bash_aliases"
|
||||
|
||||
# Bash specific alias
|
||||
alias rc='source "$XDG_CONFIG_HOME"/bash/.bashrc'
|
||||
|
||||
# https://github.com/pkasemir/find-the-command
|
||||
[[ -f /usr/share/doc/find-the-command/ftc.bash ]] && source /usr/share/doc/find-the-command/ftc.bash noupdate quiet info
|
||||
# https://wiki.archlinux.org/title/Pkgfile#Command_not_found
|
||||
|
@ -41,6 +41,9 @@ RPROMPT="%?:%h | %*"
|
||||
|
||||
[[ -f $XDG_CONFIG_HOME/bash/.bash_aliases ]] && source "$XDG_CONFIG_HOME/bash/.bash_aliases"
|
||||
|
||||
# Zsh specific alias
|
||||
alias rc='source "$XDG_CONFIG_HOME"/zsh/.zshrc'
|
||||
|
||||
# https://github.com/pkasemir/find-the-command
|
||||
[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh noupdate quiet info
|
||||
# https://wiki.archlinux.org/title/Pkgfile#Command_not_found
|
||||
|
Reference in New Issue
Block a user