Changed .bash_aliases to .aliases and added to bashrc and zshrc

This commit is contained in:
Phil 2022-11-27 21:39:12 +00:00
parent 05e01cdfa0
commit d4d4b23627
3 changed files with 6 additions and 2 deletions

View File

@ -121,8 +121,8 @@ alias fucking='sudo'
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
if [ -f ~/.aliases ]; then
. ~/.aliases
fi
# enable programmable completion features (you don't need to enable

4
.zshrc
View File

@ -254,6 +254,10 @@ if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999'
fi
if [ -f ~/.aliases ]; then
. ~/.aliases
fi
# enable command-not-found if installed
if [ -f /etc/zsh_command_not_found ]; then
. /etc/zsh_command_not_found